stolen from comp.lang.functional from Dean Herington
DeepSeq.lhs -- deep strict evaluation support
The DeepSeq class provides a method deepSeq that is similar to
seq except that it forces deep evaluation of its first argument
before returning its second argument.
Instances of DeepSeq are provided for Prelude types. Other
instances must be supplied by users of this module.
$Id: DeepSeq.lhs,v 1.5 20020401 20:58:24 heringto Exp $
|
| Methods | | | Instances | DeepSeq Bool | DeepSeq Char | DeepSeq DTDElem | DeepSeq Double | DeepSeq Float | DeepSeq Int | DeepSeq Integer | DeepSeq Ordering | DeepSeq QName | DeepSeq XNode | DeepSeq () | (DeepSeq a, DeepSeq b) => DeepSeq (a, b) | (DeepSeq a, DeepSeq b, DeepSeq c) => DeepSeq (a, b, c) | (DeepSeq a, DeepSeq b, DeepSeq c, DeepSeq d) => DeepSeq (a, b, c, d) | (DeepSeq a, DeepSeq b, DeepSeq c, DeepSeq d, DeepSeq e) => DeepSeq (a, b, c, d, e) | (DeepSeq a, DeepSeq b, DeepSeq c, DeepSeq d, DeepSeq e, DeepSeq f) => DeepSeq (a, b, c, d, e, f) | (DeepSeq a, DeepSeq b, DeepSeq c, DeepSeq d, DeepSeq e, DeepSeq f, DeepSeq g) => DeepSeq (a, b, c, d, e, f, g) | DeepSeq (a -> b) | DeepSeq (IO a) | DeepSeq a => DeepSeq (Maybe a) | DeepSeq a => DeepSeq (NTree a) | DeepSeq a => DeepSeq [a] | (DeepSeq a, DeepSeq b) => DeepSeq (Either a b) |
|
|