Safe Haskell | Safe-Inferred |
---|---|
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 # |
Substitute :: SourceLocation -> Text -> SqlTemplateVariables -> Template m (Either TemplateError Text) |
substitute :: forall r. Member Template r => SourceLocation -> Text -> SqlTemplateVariables -> Sem r (Either TemplateError Text) #