Skip to content

Commit

Permalink
Use more haddock comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fendor committed Jun 21, 2020
1 parent d5a600e commit 7e879d0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/HIE/Bios/Cradle.hs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ defaultCradle cur_dir =
}

---------------------------------------------------------------
-- The none cradle tells us not to even attempt to load a certain directory
-- | The none cradle tells us not to even attempt to load a certain directory

noneCradle :: FilePath -> Cradle a
noneCradle cur_dir =
Expand All @@ -230,7 +230,7 @@ noneCradle cur_dir =
}

---------------------------------------------------------------
-- The multi cradle selects a cradle based on the filepath
-- | The multi cradle selects a cradle based on the filepath

multiCradle :: (b -> Cradle a) -> FilePath -> [(FilePath, CradleConfig b)] -> Cradle a
multiCradle buildCustomCradle cur_dir cs =
Expand Down Expand Up @@ -368,9 +368,8 @@ callableToProcess (Program path) file = do
return $ proc canon_path (maybeToList file)

------------------------------------------------------------------------
-- Cabal Cradle
-- Works for new-build by invoking `v2-repl` does not support components
-- yet.
-- |Cabal Cradle
-- Works for new-build by invoking `v2-repl`.
cabalCradle :: FilePath -> Maybe String -> Cradle a
cabalCradle wdir mc =
Cradle
Expand Down

0 comments on commit 7e879d0

Please sign in to comment.