Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- findCradle :: FilePath -> IO (Maybe FilePath)
- loadCradle :: FilePath -> IO (Cradle Void)
- loadCustomCradle :: FromJSON b => (b -> Cradle a) -> FilePath -> IO (Cradle a)
- loadImplicitCradle :: Show a => FilePath -> IO (Cradle a)
- defaultCradle :: FilePath -> Cradle a
- isCabalCradle :: Cradle a -> Bool
- isStackCradle :: Cradle a -> Bool
- isDirectCradle :: Cradle a -> Bool
- isBiosCradle :: Cradle a -> Bool
- isNoneCradle :: Cradle a -> Bool
- isMultiCradle :: Cradle a -> Bool
- isDefaultCradle :: Cradle a -> Bool
- isOtherCradle :: Cradle a -> Bool
Documentation
findCradle :: FilePath -> IO (Maybe FilePath) Source #
Given root/foo/bar.hs, return root/hie.yaml, or wherever the yaml file was found.
loadImplicitCradle :: Show a => FilePath -> IO (Cradle a) Source #
Given root/foo/bar.hs, load an implicit cradle
defaultCradle :: FilePath -> Cradle a Source #
Default cradle has no special options, not very useful for loading modules.
isCabalCradle :: Cradle a -> Bool Source #
isStackCradle :: Cradle a -> Bool Source #
isDirectCradle :: Cradle a -> Bool Source #
isBiosCradle :: Cradle a -> Bool Source #
isNoneCradle :: Cradle a -> Bool Source #
isMultiCradle :: Cradle a -> Bool Source #
isDefaultCradle :: Cradle a -> Bool Source #
isOtherCradle :: Cradle a -> Bool Source #