#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 SamB):

 #haskell tells me it works fine when you run this (with -fth):

 {{{
 Prelude Language.Haskell.TH> $(sigE [|1|] (appT (tupleT 1) [t|Int|]))
 }}}

 So I guess the solution chosen was to behave as expected, not as proposed
 by fons.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2358#comment:8>
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

Reply via email to