[Haskell-cafe] Build regressions due to GHC 7.6

Alexander Bernauer alex-haskell at copton.net
Thu Aug 30 15:34:50 CEST 2012


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].

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)')
 
I don't think regular expressions are powerful enough. This example
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120830/ce4f6740/attachment.pgp>


More information about the Haskell-Cafe mailing list