elm-street 0.2.1.0 → 0.2.1.1
raw patch · 3 files changed
+109/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +3/−0
- elm-street.cabal +2/−1
- test/golden/oneType.json +104/−0
CHANGELOG.md view
@@ -3,6 +3,9 @@ `elm-street` uses [PVP Versioning][1]. The changelog is available [on GitHub][2]. +## 0.2.1.1 - Aug 3, 2023+* Add missing extra-source-files: test/golden/oneType.json to cabal+ ## 0.2.1.0 - Aug 3, 2023 * Add GHC 9.4.5 and 9.6.2 to CI / tested-with
elm-street.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: elm-street-version: 0.2.1.0+version: 0.2.1.1 synopsis: Crossing the road between Haskell and Elm description: `Elm-street` allows you to generate automatically derived from Haskell types@@ -18,6 +18,7 @@ build-type: Simple extra-doc-files: README.md CHANGELOG.md+extra-source-files: test/golden/oneType.json tested-with: GHC == 8.10.7 GHC == 9.0.2 GHC == 9.2.8
+ test/golden/oneType.json view
@@ -0,0 +1,104 @@+{+ "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": []+ }+ ]+}+