Language.Haskell.GhcMod.Cradle

ghc-mod-5.5.0.0: Happy Haskell Programming

Safe Haskell | None
Language | Haskell2010

Language.Haskell.GhcMod.Cradle

Synopsis

- findCradle :: (GmLog m, IOish m, GmOut m) => m Cradle
- findCradle' :: (GmLog m, IOish m, GmOut m) => FilePath -> m Cradle
- findCradleNoLog :: forall m. (IOish m, GmOut m) => m Cradle
- findSpecCradle :: (GmLog m, IOish m, GmOut m) => FilePath -> m Cradle
- cleanupCradle :: Cradle -> IO ()

# Documentation

findCradle :: (GmLog m, IOish m, GmOut m) => m Cradle

Finding `Cradle`. Find a cabal file by tracing ancestor directories. Find a sandbox according to a cabal sandbox config in a cabal directory.

findCradle' :: (GmLog m, IOish m, GmOut m) => FilePath -> m Cradle

findCradleNoLog :: forall m. (IOish m, GmOut m) => m Cradle

findSpecCradle :: (GmLog m, IOish m, GmOut m) => FilePath -> m Cradle

cleanupCradle :: Cradle -> IO ()