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

[seq] add support for Data.Sequence.Seq a #85

Closed CGenie closed 3 years ago

CGenie commented 3 years ago

Hello,

I'm not sure if you're interested, but I added Data.Sequence read/write support. This is useful alongside Array sometimes. Or do you suggest some other approach, eg. converting data to Array before serializing/deserializing?

justinwoo commented 3 years ago

I am not at all interested in taking instances for datatypes that aren't basically JS. You should fork this library in your project or write functions to do what you want: https://purescript-simple-json.readthedocs.io/en/latest/inferred-record-types.html