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

Add instances for Tuple #77

Closed ursi closed 3 years ago

ursi commented 3 years ago

Given #20, it seems this library doesn't implement Tuple instances because the intuitive implementation of mapping arrays to nested tuples could not be solved. I believe I've solved this problem.

I'll make it work on the 0.14 branch if this is accepted.

justinwoo commented 3 years ago

Please just only add instances for Tuple in your own codebase. Thanks.

ursi commented 3 years ago

My bad, has this decision been discussed elsewhere?