Open jmatsushita opened 1 year ago
You're absolutely right, I considered ShowRecordFields
to be an internal typeclass since it's a helper for the standard Show
instance, forgetting that it has to be exported also, making it essentially public.
I'm not sure what the best course of action is now - to revert this, or to just fix purescript-option
since it hasn't been reported anywhere else. I have to assume purescript-option
is not in the registry as otherwise this would have become apparent sooner. 🤔
I think I agree that ShowRecordFields
is an internal type class. I think purescript-option
should have defined its own type class to handle its particular use case, but maybe they didn't because they would have just reimplemented ShowRecordFields
... :thinking:
PR #299 seems to contain a breaking change CC @ajnsit
For instance it breaks this code:
and returns this error: