#5499: Tagging constructors with record/product phantom type
----------------------------------+-----------------------------------------
    Reporter:  basvandijk         |        Owner:              
        Type:  feature request    |       Status:  new         
    Priority:  normal             |    Milestone:              
   Component:  libraries (other)  |      Version:  7.2.1       
    Keywords:                     |     Testcase:              
   Blockedby:                     |   Difficulty:              
          Os:  Unknown/Multiple   |     Blocking:              
Architecture:  Unknown/Multiple   |      Failure:  None/Unknown
----------------------------------+-----------------------------------------

Comment(by dreixel):

 Replying to [comment:5 basvandijk]:
 > So somehow the information, whether a constructor is a record or not,
 has to move to the right of the `=>`.

 Right. I believe your `GToJSON` will also need the type-level boolean as a
 class argument.

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