Re: [GHC] #5144: Pattern synonyms

#5144: Pattern synonyms -------------------------------------+------------------------------------ Reporter: simonpj | Owner: cactus Type: feature request | Status: new Priority: normal | Milestone: _|_ Component: Compiler | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by igloo): Ah, I see, I had expected that something defined with "pattern" (e.g. `pattern Arrow t1 t2 = App "->" [t1, t2]`) could only be used as a pattern. I think a different keyword, e.g. "synonym" (or perhaps "view", as Simon suggested) would be better in that case. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/5144#comment:28 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC