Safe Haskell | None |
---|
Data.API.API.Gen
Description
This module contains datatypes generated from the DSL description of the api-tools API; they thus correspond to the types in Data.API.Types.
Documentation
newtype RegularExpression Source
Constructors
RegularExpression | |
Fields |
Constructors
FT_string !RegularExpression | |
FT_integer !IntRange | |
FT_utc !UTCRange |
data Conversion Source
Constructors
Conversion | |
Fields
|
Constructors
BT_string | |
BT_binary | |
BT_boolean | |
BT_integer | |
BT_utc |
data SpecNewtype Source
Constructors
SpecNewtype | |
Fields
|
data DefaultValue Source
Constructors
Field | |
Fields
|
Constructors
SP_newtype !SpecNewtype | |
SP_record ![Field] | |
SP_union ![Field] | |
SP_enum ![Text] | |
SP_synonym !APIType |
Constructors
APINode | |
Fields
|
apiAPISimpleTests :: [(String, Property)]Source
apiAPISamples :: [(String, Gen Value)]Source