We need to add role annotations for 7.8

Andreas Abel andreas.abel at ifi.lmu.de
Tue Mar 25 11:17:51 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 25.03.2014 10:56, Herbert Valerio Riedel wrote:
> On 2014-03-25 at 09:28:57 +0100, Andreas Abel wrote:
>> You might wanna pull the break before the release.
> 
> Fwiw, reverting the new syntax at this point also has an effect on 
> already officially released libraries such as 
> http://hackage.haskell.org/package/containers-0.5.5.1 which
> started using the new non-pragma annotation[1]; so this would
> require new hackage uploads (and maybe hackage-deprecations)...
> just saying...
> 
> [1]: http://hdiff.luite.com/cgit/containers/commit?id=0.5.5.0

Probably it is too late to row back.  Even a pragma syntax

  {-# TYPE_ROLE id role ... role #-}

generates a warning on older ghcs:

  file:1:1: Warning: Unrecognised pragma

So that is not a fully smooth alternative to a new syntax---it also
has an effect on old instances of the compiler.  Though it is only a
warning, which can be ignored like a deprecation warning.

- -- 
Andreas Abel  <><      Du bist der geliebte Mensch.

Department of Computer Science and Engineering
Chalmers and Gothenburg University, Sweden

andreas.abel at gu.se
http://www2.tcs.ifi.lmu.de/~abel/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMxZd8ACgkQPMHaDxpUpLNoQQCg2JWsVkskUfGS4WiSE9zycXrH
rqMAnjJ5lg2UgFaYRiWmu9y6SqUs2e2E
=jT79
-----END PGP SIGNATURE-----


More information about the Libraries mailing list