elm-street-0.2.1.1: test/golden/oneType.json
{
"tag": "OneType",
"prims": {
"maybe": 12,
"list": [
1,
2,
3,
4,
5
],
"tag": "Prims",
"time": "2019-02-22T00:00:00Z",
"text": "heh",
"string": "bye",
"result": {
"Left": 666
},
"pair": [
"o",
false
],
"triple": [
"o",
false,
[0]
],
"float": 36.6,
"char": "a",
"int": 42,
"bool": true,
"unit": [],
"nonEmpty": [1],
"value": {
"boolField": true,
"numberField": 1,
"stringField": "hi",
"objectField": {},
"arrayField": [1,2,3],
"nullField": null
}
},
"myUnit": {
"tag": "MyUnit",
"contents": []
},
"myResult": {
"tag": "Err",
"contents": "clashing test"
},
"userRequest": {
"tag": "UserRequest",
"example": {
"Right": {
"tag": "Blocked"
}
},
"ids": [
"1",
"2"
],
"limit": 123
},
"age": 18,
"newtype": 666,
"newtypeList": [123],
"oneConstructor": "OneConstructor",
"user": {
"status": "Approved",
"tag": "User",
"age": 100,
"name": "not-me",
"id": "1"
},
"id": "myId",
"requestStatus": "Reviewing",
"guests": [
{
"tag": "Regular",
"contents": [
"nice",
7
]
},
{
"tag": "Visitor",
"contents": "new-guest"
},
{
"tag": "Blocked"
}
],
"nonEmpty": [
{
"tag": "MyUnit",
"contents": []
},
{
"tag": "MyUnit",
"contents": []
}
]
}