#2358: Template Haskell's TupleT considers unary tuples as a valid types.
---------------------------------+------------------------------------------
Reporter: fons | Owner:
Type: merge | Status: closed
Priority: normal | Milestone: 6.8 branch
Component: Template Haskell | Version: 6.8.2
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Unknown
Testcase: TH_1tuple | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by simonpj):
That's right. `TupleT [t]`, `TupE [e]`, and `TupP [p]`, all behave like
`t`, `e` and `p` respectively, at least in the HEAD. That seemed more
helpful than failing.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2358#comment:9>
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