 
            
            
            
            
                12 May
                
                    2015
                
            
            
                12 May
                
                '15
                
            
            
            
        
    
                11:46 a.m.
            
        On Tue, 12 May 2015 08:32:08 +0000
Alexey Shmalko 
Seems you lack the proper instance of NFData for Foo
instance NFData Foo where rnf f = foo f `deepseq` ()
With this change, keeping either line produces outer exception.
Ah, as it turns out I was using deepseq 1.3, but the Generics support wasn't available until 1.4. Upgrading to 1.4 solves the issue. Thank you for your help! -- Alex