DeepSeq
John Meacham
john@repetae.net
Fri, 19 Jul 2002 11:40:46 -0700
DrIFT can derive 'rnf' or reduce to normal form for arbitrary classes
which is similar to deepSeq, in fact does anyone have a good description
as to how they are different?
John
On Fri, Jul 19, 2002 at 12:31:40PM +0100, Jorge Adriano wrote:
> 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
> > (1) It is fairly common to want to force deeper evaluation.
> > (2) DeepSeq is simple enough to be dropped in the GHC distribution, without
> > it causing much trouble or making it much bigger.
> > (3) At the same time, it is not so simple that it can be reimplemented in a
> > couple of lines.
>
> Agree.
> Beeing able to derive instances of DeepSeq would be nice too.
>
> J.A.
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users@haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
--
---------------------------------------------------------------------------
John Meacham - California Institute of Technology, Alum. - john@foo.net
---------------------------------------------------------------------------