-
Notifications
You must be signed in to change notification settings - Fork 325
Closed
Milestone
Description
Currently, only GFromJSON
is exposed. GToJSON
is only exposed via the two type synonyms which means that I can't write custom instances for that class. My use case is that I have a type (data Unset = Unset
) that I want to use for some fields in a record and I want those fields to be dropped from the JSON representation of that record. If GToJSON
was exposed, I could just duplicate the trick used for Maybe
.
Since GFromJSON
is already exposed, this already has a precedent.
martyall, fumieval and blmage
Metadata
Metadata
Assignees
Labels
No labels