Overlapping and incoherent instances

Niklas Hambüchen mail at nh2.me
Tue Jul 29 09:29:45 UTC 2014


Hi Simon,

> instance {-# OVERLAPPABLE #-} Show a => Show [a] where …

Is the syntax somewhat flexible in where the pragma can be placed?
For example, some might prefer

  {-# OVERLAPPING #-}
  instance Show [Char] where …


More information about the Libraries mailing list