Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type family PrettyShow a :: Constraint
- show :: forall b a. (PrettyShow a, Show a, IsString b) => a -> b
Documentation
type family PrettyShow a :: Constraint Source #
An open type family for types having a human-readable Show
representation. The
kind is Constraint
in case we need to further constrain the instance, and also for
convenience to avoid explicitly writing ~ 'True
everywhere.