#4370: Bring back monad comprehensions
---------------------------------+------------------------------------------
Reporter: simonpj | Owner: nsch
Type: feature request | Status: patch
Priority: normal | Milestone: 7.4.1
Component: Compiler | Version: 6.12.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by nsch):
Patch for the testsuite added. One note: I've added a
`expected_broken_for(4370, ['ghci','hpc'])` flag to all tests wich use the
grouping statement, since ghci still fails with grouping statements…
I also fixed a few bugs in the compiler (mostly minor bugs in the error
messages) and will upload the new version aswell.
Unless somebody comes up with a solution to that ghci error I'd suggest to
apply these patches and open a separate bug ticket, so someone with the
necessary expertise will be able to fix it. I will continue to try to fix
that ghci bug, but currently I don't see why this happens at all (ghci
even generates different core code, see http://npaste.de/zV/ (ghci) vs
http://npaste.de/zW/ (ghc) – the `>>=` on line 31 of the ghci code makes
no sense at all…).
So, to commit these patches you should apply...
* `monad-comprehensions-final.patch` and `mc-user-guide.patch` to the
main repo
* `mc-testsuite.patch` to the testsuite
* `group_zip.patch` to the `base` package
* `mc-cabal-extensions.patch` to the `Cabal` package
The alpha version and that git commit can be ignored.
And just to let you know, I'll be on vacations next week, so I won't be
able to do any work. I'll add that wiki entry when I come back.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4370#comment:48>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs