Safe Haskell | None |
---|---|
Language | GHC2021 |
Documentation
newtype TemplateError #
Instances
Show TemplateError # | |
Defined in Napkin.Run.Effects.Languages.Template showsPrec :: Int -> TemplateError -> ShowS # show :: TemplateError -> String # showList :: [TemplateError] -> ShowS # | |
Eq TemplateError # | |
Defined in Napkin.Run.Effects.Languages.Template (==) :: TemplateError -> TemplateError -> Bool # (/=) :: TemplateError -> TemplateError -> Bool # |
data Template (m :: k) a where #
Substitute :: forall {k} (m :: k). SourceLocation -> Text -> SqlTemplateVariables -> Template m (Either TemplateError Text) |
substitute :: forall (r :: EffectRow). Member (Template :: (Type -> Type) -> Type -> Type) r => SourceLocation -> Text -> SqlTemplateVariables -> Sem r (Either TemplateError Text) #