Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data BuiltinOrCustomProgram builtin custom extra #
Instances
Eq extra => Eq (BuiltinOrCustomProgram builtin custom extra) # | |
Defined in Napkin.Spec.Yaml.Types.Extend (==) :: 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) # | |
Defined in Napkin.Spec.Yaml.Types.Extend showsPrec :: Int -> BuiltinOrCustomProgram builtin custom extra -> ShowS # show :: BuiltinOrCustomProgram builtin custom extra -> String # showList :: [BuiltinOrCustomProgram builtin custom extra] -> ShowS # | |
ToJSON (BuiltinOrCustomProgram builtin custom ()) # | |
Defined in Napkin.Spec.Yaml.Types.Extend toJSON :: BuiltinOrCustomProgram builtin custom () -> Value # toEncoding :: BuiltinOrCustomProgram builtin custom () -> Encoding # toJSONList :: [BuiltinOrCustomProgram builtin custom ()] -> Value # toEncodingList :: [BuiltinOrCustomProgram builtin custom ()] -> Encoding # |
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 #