purescript-language-cst-parser icon indicating copy to clipboard operation
purescript-language-cst-parser copied to clipboard

`Generic` instances

Open m-bock opened this issue 1 year ago • 2 comments

Would a PR be accepted that adds Generic instances to the ADTs in the Types module? Or are there particular reasons why they don't exists?

m-bock avatar Aug 22 '23 04:08 m-bock

Can you clarify what your use case is? Related https://github.com/natefaubion/purescript-language-cst-parser/pull/30

As I stated there, it’s not something I’m necessarily opposed to, but whatever you are going to use it for is going to be quite slow. This isn’t necessarily a deal breaker, I just want to consider the use case.

natefaubion avatar Aug 22 '23 14:08 natefaubion

I'm interested in this, because I'd like to get a quick/free way of (de)serialising the CST to and from JSON.

i-am-the-slime avatar Nov 09 '23 09:11 i-am-the-slime