#4148: improve new recursive do syntax
---------------------------------+------------------------------------------
Reporter: guest | Owner:
Type: feature request | Status: patch
Priority: low | Milestone: 7.6.1
Component: Compiler | Version: 6.12.3
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by lerkok):
Will: Your `do srec` is essentially what `mdo` is. I think it'd be rather
unfortunate to introduce yet another keyword. As Ross pointed out, `rec`
is shorthand for a plain call to `mfix`; while `mdo` says find the minimal
segments in the following and apply `rec` to them.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4148#comment:30>
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