| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Napkin.Spec.Yaml.Types.Extend
Documentation
data BuiltinOrCustomProgram builtin custom extra #
Constructors
| BuiltinProgram | |
Fields
| |
| CustomProgram | |
Instances
| Show extra => Show (BuiltinOrCustomProgram builtin custom extra) # | |
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) # | |
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 :: BuiltinOrCustomProgram builtin custom extra -> Maybe (Typed custom ModuleFunction) #
parseBuiltinOrCustom :: Object -> Set Key -> (Object -> Parser extra) -> Map Text (SpecProgramDefinition builtin) -> Value -> Parser (BuiltinOrCustomProgram builtin custom extra) #