Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype LocalFileError = LocalFileError Text
- data LocalFile m a where
- loadFile :: forall r. MemberWithError LocalFile r => FilePath -> Sem r (Either LocalFileError Text)
Documentation
newtype LocalFileError #
Instances
Eq LocalFileError # | |
Defined in Napkin.Run.Effects.Languages.LocalFile (==) :: LocalFileError -> LocalFileError -> Bool # (/=) :: LocalFileError -> LocalFileError -> Bool # | |
Show LocalFileError # | |
Defined in Napkin.Run.Effects.Languages.LocalFile showsPrec :: Int -> LocalFileError -> ShowS # show :: LocalFileError -> String # showList :: [LocalFileError] -> ShowS # |
Effect that deal with local files
loadFile :: forall r. MemberWithError LocalFile r => FilePath -> Sem r (Either LocalFileError Text) #