#4359: Implement lambda-case/lambda-if
---------------------------------+------------------------------------------
Reporter: batterseapower | Owner:
Type: feature request | Status: new
Priority: high | Milestone: 7.2.1
Component: Compiler | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by mikhail.vorozhtsov):
I think we should use a different symbol/keyword after all. The new layout
rule is great for multi-clause abstractions, but often gets in the way in
the single-clause case, e.g.
{{{
mask $ \restore -> do
blah
blah
blah
}}}
needs to be rewritten as
{{{
mask $ \
restore -> do
blah
blah
blah
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4359#comment:41>
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