diff --git a/Language/Haskell/GhcMod/Cradle.hs b/Language/Haskell/GhcMod/Cradle.hs index c5fa6ec..c532bf3 100644 --- a/Language/Haskell/GhcMod/Cradle.hs +++ b/Language/Haskell/GhcMod/Cradle.hs @@ -12,6 +12,9 @@ import System.FilePath ((),takeDirectory) ---------------------------------------------------------------- -- | Finding 'Cradle'. +-- Find a cabal file by tracing ancestor directories. +-- Find a sandbox according to a cabal sandbox config +-- in a cabal directory. findCradle :: IO Cradle findCradle = do wdir <- getCurrentDirectory