strict version of operations on IntMap and IntSet

Manlio Perillo manlio.perillo at gmail.com
Tue Apr 14 09:20:45 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

- From a discussion I had some time ago on haskell-cafe, it seems that all
operations on IntMap and IntSet are lazy.

The only exception is `alter`, for IntMap.

This can be a problem.
As an example, using `fromList` (both from IntMap and IntSet) seems to
be rather unfriendly to the garbage collector.


Is it possible to have strict variants of the most common operations?


Thanks  Manlio Perillo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknkja0ACgkQscQJ24LbaUThzACffL9JTJv9LqmdZIEJeY9EFobT
tZgAnitfwGvaHM+kpOEHX8/mNtnYGVsF
=E7+2
-----END PGP SIGNATURE-----


More information about the Libraries mailing list