Safe Haskell | None |
---|---|
Language | GHC2024 |
Documentation
data InterpolationErrorDetails #
Instances
data InterpolationMode #
Instances
Show InterpolationMode # | |
Defined in Napkin.Parse.Interpolation.Types showsPrec :: Int -> InterpolationMode -> ShowS # show :: InterpolationMode -> String # showList :: [InterpolationMode] -> ShowS # | |
Eq InterpolationMode # | |
Defined in Napkin.Parse.Interpolation.Types (==) :: InterpolationMode -> InterpolationMode -> Bool # (/=) :: InterpolationMode -> InterpolationMode -> Bool # |
data InterpolationError #
TemplateCompilationError InterpolationErrorDetails | |
TemplateEvaluationError InterpolationErrorDetails | |
TemplateSubstitutionError InterpolationErrorDetails | |
TemplateEngineError InterpolationErrorDetails |
Instances
Generic InterpolationError # | |||||
Defined in Napkin.Parse.Interpolation.Types
from :: InterpolationError -> Rep InterpolationError x # to :: Rep InterpolationError x -> InterpolationError # | |||||
Show InterpolationError # | |||||
Defined in Napkin.Parse.Interpolation.Types showsPrec :: Int -> InterpolationError -> ShowS # show :: InterpolationError -> String # showList :: [InterpolationError] -> ShowS # | |||||
Eq InterpolationError # | |||||
Defined in Napkin.Parse.Interpolation.Types (==) :: InterpolationError -> InterpolationError -> Bool # (/=) :: InterpolationError -> InterpolationError -> Bool # | |||||
type Rep InterpolationError # | |||||
Defined in Napkin.Parse.Interpolation.Types type Rep InterpolationError = D1 ('MetaData "InterpolationError" "Napkin.Parse.Interpolation.Types" "napkin-spec-2.0.0-7NH5JHRFo7V8BQP5NCfMo1" 'False) ((C1 ('MetaCons "TemplateCompilationError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InterpolationErrorDetails)) :+: C1 ('MetaCons "TemplateEvaluationError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InterpolationErrorDetails))) :+: (C1 ('MetaCons "TemplateSubstitutionError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InterpolationErrorDetails)) :+: C1 ('MetaCons "TemplateEngineError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InterpolationErrorDetails)))) |
type MustacheBackend (b :: k) = BackendDialect b #
newtype SqlTemplateVariables #
Instances
FromJSON SqlTemplateVariables # | |
Defined in Napkin.Parse.Interpolation.Types | |
ToJSON SqlTemplateVariables # | |
Defined in Napkin.Parse.Interpolation.Types toJSON :: SqlTemplateVariables -> Value # toEncoding :: SqlTemplateVariables -> Encoding # toJSONList :: [SqlTemplateVariables] -> Value # toEncodingList :: [SqlTemplateVariables] -> Encoding # omitField :: SqlTemplateVariables -> Bool # | |
Default SqlTemplateVariables # | |
Defined in Napkin.Parse.Interpolation.Types | |
Monoid SqlTemplateVariables # | |
Semigroup SqlTemplateVariables # | |
Defined in Napkin.Parse.Interpolation.Types | |
Show SqlTemplateVariables # | |
Defined in Napkin.Parse.Interpolation.Types showsPrec :: Int -> SqlTemplateVariables -> ShowS # show :: SqlTemplateVariables -> String # showList :: [SqlTemplateVariables] -> ShowS # | |
Eq SqlTemplateVariables # | |
Defined in Napkin.Parse.Interpolation.Types (==) :: SqlTemplateVariables -> SqlTemplateVariables -> Bool # (/=) :: SqlTemplateVariables -> SqlTemplateVariables -> Bool # | |
Ord SqlTemplateVariables # | |
Defined in Napkin.Parse.Interpolation.Types compare :: SqlTemplateVariables -> SqlTemplateVariables -> Ordering # (<) :: SqlTemplateVariables -> SqlTemplateVariables -> Bool # (<=) :: SqlTemplateVariables -> SqlTemplateVariables -> Bool # (>) :: SqlTemplateVariables -> SqlTemplateVariables -> Bool # (>=) :: SqlTemplateVariables -> SqlTemplateVariables -> Bool # max :: SqlTemplateVariables -> SqlTemplateVariables -> SqlTemplateVariables # min :: SqlTemplateVariables -> SqlTemplateVariables -> SqlTemplateVariables # |
sqlTemplate :: [(Text, Value)] -> SqlTemplateVariables #