| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Napkin.Spec.Yaml.Types.Extend
Documentation
data BuiltinOrCustomProgram builtin custom extra #
Constructors
| BuiltinProgram | |
| CustomProgram | |
Instances
yamlCustomModuleFunction :: BuiltinOrCustomProgram builtin custom extra -> Maybe (Typed custom ModuleFunction) #
parseBuiltinOrCustom :: Set Text -> (Object -> Parser extra) -> Map Text (Object -> Parser builtin) -> Value -> Parser (BuiltinOrCustomProgram builtin custom extra) #
toJSONBuiltinOrCustom :: (extra -> [Pair]) -> BuiltinOrCustomProgram builtin custom extra -> Value #