| I hope that it does but I have not installed GHC 6.12 yet. I was | wondering more how to write new programs that are not restricted to | work only with GHC >= 6.12.1. Sometimes one can make things portable | with a bit of CPP---not pretty but it works---but, in this case, I | could not think of a good way to do this, so if anyone has ideas...
Yes you can. Since nothing except 6.12 has 'rec', you can use 'mdo'. If you don't want the deprecation warning use -fno-warn-deprecations. Of course *any* feature removal is going to lead to programs that used to work not working any more. I don't see how to avoid that, except by keeping all features forever. We can keep mdo as long as necessary, I suppose, but I'd like some mechanism to gently encourage people to the rec syntax, which is what the deprecation warning should do. Simon
_______________________________________________ Glasgow-haskell-bugs mailing list [email protected] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
