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