purescript-deprecated/purescript-generics

Generic GenericSpine instance?

Closed this issue · 2 comments

Where fromSpine = Just, and toSpine = id. Do you think this would make sense?

No, I don't think so. If you did gShow someSpine, you'd expect to see the spine, not the value it came from, for example.

Ah, of course, yes. And I guess defining this instance 'normally' would be difficult given that it contains functions.

I don't have any reason to want this instance anyway, so I'll close this.