 
            
            
            
            
                14 Mar
                
                    2012
                
            
            
                14 Mar
                
                '12
                
            
            
            
        
    
                3:40 a.m.
            
        Hi Reiner,
On Wed, Mar 14, 2012 at 00:30, Reiner Pope 
A similar question is what the following should do:
{-# LANGUAGE DeriveGeneric, FlexibleInstances, StandaloneDeriving #-} import GHC.Generics data T a = T a deriving instance Generic (T Bool)
Surprisingly, it currently generates the following instances:
instance Generic (T Bool) where ... type instance Rep (T a) = ...
Oh, this is a bug. I'll open a ticket for it and fix it soon. Thanks, Pedro