DeepSeq

2002-07-19 Thread George Russell
Would it be possible to bring the DeepSeq library into the libraries distributed with GHC? (I think Dean Herington is responsible for it.) Of course it's easy enough to drop it into one's own program (I am just about to do this) but (1) It is fairly common to want to force deeper evaluation. (2)

Re: DeepSeq

2002-07-19 Thread Jorge Adriano
On Friday 19 July 2002 12:10, George Russell wrote: > Would it be possible to bring the DeepSeq library into the libraries > distributed with GHC? (I think Dean Herington is responsible for it.) > > Of course it's easy enough to drop it into one's own program (I am just > about to do this) but >

Re: DeepSeq

2002-07-19 Thread Ralf Hinze
> Beeing able to derive instances of DeepSeq would be nice too. Here is an implementation using GHC's derivable type classes. Cheers, Ralf ghc -c -fglasgow-exts -fgenerics -package lang Eval.lhs > module Force > where > import Generics > class Force a where > force