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 11, 2020
1 parent f8ee731 commit 498bf97
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 @@ -208,7 +208,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 @@ -221,7 +221,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 @@ -359,9 +359,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 498bf97

Please sign in to comment.