Hi
I agree that automatic code migration can solve this issue in large
parts. The Python folks have done this to mitigate the transition from
version 2 to version 3 [1].
I don't think regular expressions are powerful enough. This example
On Thu, Aug 30, 2012 at 03:03:05PM +0200, Alexander Kjeldaas wrote:
> perl -ni -e 'print unless /import Prelude hiding \(catch\)/' $(git grep
> 'import Prelude hiding (catch)')
does not match on hiding multiple names, for instance.
But writing proper 'HsModule -> HsModule' functions should be doable.
And when each release comes with a bunch of such functions, packages
could be automatically migrated.
Greetings
Alex
[1] http://docs.python.org/library/2to3.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAlA/a/oACgkQevm6Dd/q44nJXQCffaxEJ/NZEftgoZ7viAWMuBO3
+jkAnRTw+VCMQn1k9NibyKpkGMtwvrQw
=ds3M
-----END PGP SIGNATURE-----
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe