Hi all,
While writing new test cases, I realised we can simplify entering test
data heavily, if only we use OverloadedStrings.
However, we hit upon an hlint bug: using OverloadedString means that ANN
pragmas need to explicitly define (at least with GHC 6.12) the type,
e.g.:
{-# ANN module ("HLint: …")::String #-}
But hlint 1.8.28, as shipped with Wheezy, can't parse this (fails with
an incomplete pattern).
It seems that newer hlint versions fixed this (at least from looking at
the code it seems so).
So… bump hlint version (ugly), or don't use OverloadedStrings (ugly)?
thanks,
iustin