justinwoo / purescript-simple-json

A simple Purescript JSON library that uses types automatically
http://purescript-simple-json.readthedocs.io
MIT License
133 stars 45 forks source link

Enum sum generics example to test/docs #43

Closed justinwoo closed 6 years ago

justinwoo commented 6 years ago

https://github.com/justinwoo/enum-sum-generics-example-simple-json/blob/master/src/Main.purs

Should be copied into test/Generic.purs or a new test/EnumGeneric.purs file and then added to docs

justinwoo commented 6 years ago

Now there's an example: https://github.com/justinwoo/purescript-simple-json/blob/master/test/EnumSumGeneric.purs

justinwoo commented 6 years ago

I should probably write up some stuff about this.

justinwoo commented 6 years ago

Fixed by 5f31f39 add notes on enum sums