[GHC] #1806: panic when pattern matching infix constructors
with too many arguments
GHC
trac at galois.com
Mon Oct 29 10:48:08 EDT 2007
#1806: panic when pattern matching infix constructors with too many arguments
------------------------------------------------+---------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.8
Severity: minor | Resolution:
Keywords: panic infix constructor pattern | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
------------------------------------------------+---------------------------
Comment (by Isaac Dupree):
I have the feeling that I've seen a use for three-argument case... maybe
at the type level though, such as `(* -> *)` composition `([] :.: Maybe)`.
Infix non-constructor functions like that are certainly allowed with
currying, including defining them {{{(f . g) x = ...}}}.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1806#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list