How lazy is DData.Seq?

JP Bernardy jyp_7 at yahoo.com
Mon May 10 15:19:17 EDT 2004


--- Wolfgang Jeltsch <wolfgang at jeltsch.net> wrote:
> Am Montag, 10. Mai 2004 01:02 schrieben Sie:
> > [...]
> 
> > > > The current version behaves ok for sequences
> mainly constructed with
> > > > fromList, cons or snoc; a sequence made up of
> 'append' is strict.
> > >
> > > Would it be possible to change this behavior?
> >
> > Sure.
> > I attach the modified version, for reference.
> >
> > Cheers,
> > JP.
> 
> Thanks a lot.  Well, the version you attached has an
> error.  Hugs says:
>     ERROR "DData/Seq.hs":472 - Undefined variable
> "valid"

Well, if you checked it, you surely found that simply
deleting the offending line corrects the error. Sorry
for the (slight) inconvenience.

JP.


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 


More information about the Libraries mailing list