How lazy is DData.Seq?

Wolfgang Jeltsch wolfgang at jeltsch.net
Mon May 10 22:09:31 EDT 2004


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"

Wolfgang



More information about the Libraries mailing list