napkin-0.5.13
Safe HaskellNone
LanguageHaskell2010

Napkin.Spec.Yaml.Types.Extend

Documentation

data BuiltinOrCustomProgram builtin custom extra #

Constructors

BuiltinProgram 

Fields

CustomProgram 

Fields

Instances

Instances details
Eq extra => Eq (BuiltinOrCustomProgram builtin custom extra) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.Extend

Methods

(==) :: BuiltinOrCustomProgram builtin custom extra -> BuiltinOrCustomProgram builtin custom extra -> Bool #

(/=) :: BuiltinOrCustomProgram builtin custom extra -> BuiltinOrCustomProgram builtin custom extra -> Bool #

Show extra => Show (BuiltinOrCustomProgram builtin custom extra) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.Extend

Methods

showsPrec :: Int -> BuiltinOrCustomProgram builtin custom extra -> ShowS #

show :: BuiltinOrCustomProgram builtin custom extra -> String #

showList :: [BuiltinOrCustomProgram builtin custom extra] -> ShowS #

ToJSON (BuiltinOrCustomProgram builtin custom ()) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.Extend

Methods

toJSON :: BuiltinOrCustomProgram builtin custom () -> Value #

toEncoding :: BuiltinOrCustomProgram builtin custom () -> Encoding #

toJSONList :: [BuiltinOrCustomProgram builtin custom ()] -> Value #

toEncodingList :: [BuiltinOrCustomProgram builtin custom ()] -> Encoding #

parseBuiltinOrCustom :: Object -> Set Text -> (Object -> Parser extra) -> Map Text (Object -> Parser builtin) -> Value -> Parser (BuiltinOrCustomProgram builtin custom extra) #

toJSONBuiltinOrCustom :: (extra -> [Pair]) -> BuiltinOrCustomProgram builtin custom extra -> Value #