Closed paulyoung closed 6 years ago
Or maybe @rightfold?
I guess what I'm proposing is basically a new back end that produces PureScript types equivalent to those found in Language.PureScript.CoreFn.FromJSON
.
After thinking about it, I think the above approach would be too slow.
It would be great to somehow leverage https://github.com/purescript/purescript/blob/1a3ee21c110dd3dce45e7e2a77349141e943e254/src/Language/PureScript/CoreFn/FromJSON.hs without having to manually port the module and then keep it in sync.
@coot do you have any thoughts on this?