nixpkgs-update-0.3.0: Tool for semi-automatic updating of nixpkgs repository
Safe HaskellNone
LanguageHaskell2010

File

Documentation

data File m a where Source #

Constructors

Read :: FilePath -> File m Text 
Write :: FilePath -> Text -> File m () 

Instances

Instances details
type DefiningModule (File :: k -> Type -> Type) Source # 
Instance details

Defined in File

type DefiningModule (File :: k -> Type -> Type) = "File"

write :: forall r. MemberWithError File r => FilePath -> Text -> Sem r () Source #

read :: forall r. MemberWithError File r => FilePath -> Sem r Text Source #

runIO :: Member (Embed IO) r => Sem (File ': r) a -> Sem r a Source #

runPure :: [Text] -> Sem (File ': r) a -> Sem r ([Text], a) Source #