Skip to content

Commit

Permalink
Add module headers to modules with docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Aug 9, 2024
1 parent 7a770f6 commit 368971b
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/GHC/Generics/Selectors.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
-- | Function for getting the names of fields in a type
--
-- <https://stackoverflow.com/questions/27815489/is-it-possible-to-list-the-names-and-types-of-fields-in-a-record-data-type-that>
--
-- Module : GHC.Generics.Selectors
-- Copyright : (c) 2024 Patrick Brisbin
-- License : AGPL-3
-- Maintainer : pbrisbin@gmail.com
-- Stability : experimental
-- Portability : POSIX
module GHC.Generics.Selectors
( Selectors (..)
) where
Expand Down
7 changes: 7 additions & 0 deletions src/Restyler/Config.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
-- - <https://reasonablypolymorphic.com/blog/higher-kinded-data/>
-- - <https://chrispenner.ca/posts/hkd-options>
-- - <https://hackage.haskell.org/package/barbies>
--
-- Module : Restyler.Config
-- Copyright : (c) 2024 Patrick Brisbin
-- License : AGPL-3
-- Maintainer : pbrisbin@gmail.com
-- Stability : experimental
-- Portability : POSIX
module Restyler.Config
( Config (..)
, ConfigError (..)
Expand Down
7 changes: 7 additions & 0 deletions src/Restyler/Config/Glob.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{-# LANGUAGE AllowAmbiguousTypes #-}

-- | Small wrapper over @'System.FilePath.Glob.Pattern'@
--
-- Module : Restyler.Config.Glob
-- Copyright : (c) 2024 Patrick Brisbin
-- License : AGPL-3
-- Maintainer : pbrisbin@gmail.com
-- Stability : experimental
-- Portability : POSIX
module Restyler.Config.Glob
( Glob (..)
, GlobTarget (..)
Expand Down
7 changes: 7 additions & 0 deletions src/Restyler/Local.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
-- | @restyle PATH [PATH...]@
--
-- Module : Restyler.Local
-- Copyright : (c) 2024 Patrick Brisbin
-- License : AGPL-3
-- Maintainer : pbrisbin@gmail.com
-- Stability : experimental
-- Portability : POSIX
module Restyler.Local
( NullPullRequest (..)
, run
Expand Down
7 changes: 7 additions & 0 deletions test/Restyler/Test/FS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
-- common prefix shared by multiple files. An empty directory can be created
-- by creating a file ending in @/@. Therefore, reading and writing to a
-- \"directory\" could behave in surprising ways.
--
-- Module : Restyler.Test.FS
-- Copyright : (c) 2024 Patrick Brisbin
-- License : AGPL-3
-- Maintainer : pbrisbin@gmail.com
-- Stability : experimental
-- Portability : POSIX
module Restyler.Test.FS
( FS
, build
Expand Down

0 comments on commit 368971b

Please sign in to comment.