[GHC] #8927: Multiple case match at once
GHC
ghc-devs at haskell.org
Wed Mar 26 09:40:52 UTC 2014
#8927: Multiple case match at once
-------------------------------------+-------------------------------------
Reporter: vxanica | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.1-rc2
(Parser) | Keywords: case, multiple
Resolution: | Architecture: Unknown/Multiple
Operating System: Unknown/Multiple | Difficulty: Easy (less than 1
Type of failure: None/Unknown | hour)
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+-------------------------------------
Comment (by hvr):
Replying to [ticket:8927 vxanica]:
> {{{#!haskell
> case x of
> 1 | 2 | 3 -> "123"
> 4 | 5 | 6 -> "456"
> }}}
btw, this concrete syntax would collide with Haskell2010's
[http://www.haskell.org/haskellwiki/Pattern_guard Pattern Guards]
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8927#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list