Commits

Maxime Henrion committed e50df69

Add an instance for functions, for convenience and consistency with seq
and the non-generic deepseq package.

Comments (0)

Files changed (1)

 instance DeepSeq Word32   where deepseq = seq
 instance DeepSeq Word64   where deepseq = seq
 
+instance DeepSeq (a -> b) where deepseq = seq
+
 instance (DeepSeq a, DeepSeq b) => DeepSeq (a,b)
 instance (DeepSeq a, DeepSeq b, DeepSeq c) => DeepSeq (a,b,c)
 instance (DeepSeq a, DeepSeq b, DeepSeq c, DeepSeq d) => DeepSeq (a,b,c,d)