napkin-spec-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Parse.Interpolation.Types

Documentation

data InterpolationErrorDetails #

Instances

Instances details
Generic InterpolationErrorDetails # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

Associated Types

type Rep InterpolationErrorDetails 
Instance details

Defined in Napkin.Parse.Interpolation.Types

type Rep InterpolationErrorDetails = D1 ('MetaData "InterpolationErrorDetails" "Napkin.Parse.Interpolation.Types" "napkin-spec-2.0.0-7NH5JHRFo7V8BQP5NCfMo1" 'False) (C1 ('MetaCons "InterpolationErrorDetails" 'PrefixI 'True) (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PName) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Show InterpolationErrorDetails # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

Eq InterpolationErrorDetails # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

type Rep InterpolationErrorDetails # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

type Rep InterpolationErrorDetails = D1 ('MetaData "InterpolationErrorDetails" "Napkin.Parse.Interpolation.Types" "napkin-spec-2.0.0-7NH5JHRFo7V8BQP5NCfMo1" 'False) (C1 ('MetaCons "InterpolationErrorDetails" 'PrefixI 'True) (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PName) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data InterpolationError #

Instances

Instances details
Generic InterpolationError # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

Associated Types

type Rep InterpolationError 
Instance details

Defined in Napkin.Parse.Interpolation.Types

Show InterpolationError # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

Eq InterpolationError # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

type Rep InterpolationError # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

type MustacheBackend (b :: k) = BackendDialect b #

newtype SqlTemplateVariables #

Instances

Instances details
FromJSON SqlTemplateVariables # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

ToJSON SqlTemplateVariables # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

Default SqlTemplateVariables # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

Monoid SqlTemplateVariables # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

Semigroup SqlTemplateVariables # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

Show SqlTemplateVariables # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

Eq SqlTemplateVariables # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

Ord SqlTemplateVariables # 
Instance details

Defined in Napkin.Parse.Interpolation.Types

sqlVar :: ToJSON a => Text -> a -> (Text, Value) #