napkin-runtime-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Spec.Yaml.Types.Extend

Documentation

data BuiltinOrCustomProgram builtin (custom :: k) extra #

Constructors

BuiltinProgram 

Fields

CustomProgram 

Fields

Instances

Instances details
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 #

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 #

yamlCustomModuleFunction :: forall {k} builtin (custom :: k) extra. BuiltinOrCustomProgram builtin custom extra -> Maybe (Typed custom ModuleFunction) #

filterArgsMap :: (Key -> v -> Bool) -> KeyMap v -> KeyMap v #

parseBuiltinOrCustom :: forall {k} extra builtin (custom :: k). Object -> Set Key -> (Object -> WarningParser extra) -> Map Text (SpecProgramDefinition builtin) -> Value -> WarningParser (BuiltinOrCustomProgram builtin custom extra) #