
#12001: RFC: Add pattern synonyms to base -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: libraries/base | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Iceland_jack): With `UnboxedSums` {{{#!hs pattern Left# :: a -> (# a | b #) pattern Left# a = (# a | #) pattern Right# :: b -> (# a | b #) pattern Right# b = (# | b #) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12001#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler