The size of things

Simon Marlow simonmar@microsoft.com
Fri, 15 Feb 2002 11:39:29 -0000


> Yes, I see.  Would it be possible to have a standard strict list,
> i.e. something equivalent of
>=20
>         data SList a =3D SNil | SCons !a SList
>=20
> (which could be a member of the same class as the normal lists, and
> have the usual functions (length, ++, isPrefixOf...) overloaded)?

Yes, it would be possible, but we can't do it without making sweeping =
changes to standard libraries and deviating from Haskell 98 quite a bit. =
 It's something to bear in mind should the topic of Haskell 2 come up, =
though.

Cheers,
	Simon