mirror of
https://github.com/higherkindness/mu-haskell.git
synced 2024-08-16 18:00:33 +03:00
Fix problem with Python tests
This commit is contained in:
parent
56000da77c
commit
e329713619
@ -1,23 +1,23 @@
|
||||
[ { "type": "enum",
|
||||
"name": "gender",
|
||||
"symbols" : ["male", "female", "nb"]
|
||||
}
|
||||
, { "type": "record"
|
||||
, "name": "address"
|
||||
, "fields": [
|
||||
{"name": "postcode", "type": "string"},
|
||||
{"name": "country", "type": "string"}
|
||||
]
|
||||
}
|
||||
,{ "type": "record",
|
||||
"name": "person",
|
||||
"fields": [
|
||||
{"name": "firstName", "type": "string"},
|
||||
{"name": "lastName", "type": "string"},
|
||||
{"name": "age", "type": ["long", "null"]},
|
||||
{"name": "gender", "type": ["gender", "null"]},
|
||||
{"name": "address", "type": "address"},
|
||||
{"name": "lucky_numbers", "type": { "type": "array", "items": "long" } }
|
||||
]
|
||||
}
|
||||
]
|
||||
{ "type": "record",
|
||||
"name": "person",
|
||||
"fields": [
|
||||
{"name": "firstName", "type": "string"},
|
||||
{"name": "lastName", "type": "string"},
|
||||
{"name": "age", "type": ["long", "null"]},
|
||||
{"name": "gender", "type": [
|
||||
{ "type": "enum",
|
||||
"name": "gender",
|
||||
"symbols" : ["male", "female", "nb"]
|
||||
} , "null"]},
|
||||
{"name": "address", "type":
|
||||
{ "type": "record"
|
||||
, "name": "address"
|
||||
, "fields": [
|
||||
{"name": "postcode", "type": "string"},
|
||||
{"name": "country", "type": "string"}
|
||||
]
|
||||
}
|
||||
},
|
||||
{"name": "lucky_numbers", "type": { "type": "array", "items": "long" } }
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user