
29 Jul
2014
29 Jul
'14
12:33 p.m.
+1. I like Niklas' syntax better. Also OVERLAPPABLE is a horrible word, OVERLAPPING sound less formidable (even though it might be slightly less accurrate). On 29.07.2014 11:29, Niklas Hambüchen wrote:
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 …
-- Andreas Abel <>< Du bist der geliebte Mensch. Department of Computer Science and Engineering Chalmers and Gothenburg University, Sweden andreas.abel@gu.se http://www2.tcs.ifi.lmu.de/~abel/