You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One problem with doing this is that a Generic instance lets you get around abstraction boundaries, and the MediaType type is declared in an Internal module and its constructors are not exposed in the public interface.
Is it possible to derive the
Generic
typeclass for theMediaType
type located inNetwork.HTTP.Media.MediaType
?I'm using the type to represent something in a
Dhall
config and need to have anInterpret
instance, so that's why I would need it to deriveGeneric
.The text was updated successfully, but these errors were encountered: