napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Run.Effects.Interpreters.LoadQuery

Documentation

runLoadQueryIO :: forall (r :: EffectRow) a. Members '[LocalFile :: (Type -> Type) -> Type -> Type, Template :: (Type -> Type) -> Type -> Type] r => Sem ((LoadQuery :: (Type -> Type) -> Type -> Type) ': r) a -> Sem r a #

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