napkin-spec-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Run.Effects.Languages.LocalFile

Synopsis

Documentation

data LocalFile (m :: k) a where #

Effect that deal with local files

Constructors

LoadFile :: forall {k} (m :: k). FilePath -> LocalFile m (Either LocalFileError Text) 

loadFile :: forall (r :: EffectRow). Member (LocalFile :: (Type -> Type) -> Type -> Type) r => FilePath -> Sem r (Either LocalFileError Text) #