[Haskell-cafe] question on the Prelude .. vis-a-vis

Gwern Branwen gwern0 at gmail.com
Wed May 13 08:37:03 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Wed, May 13, 2009 at 6:25 AM, Malcolm Wallace  wrote:
...
>> > import Data.FiniteMap
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREKAAYFAkoKvusACgkQvpDo5Pfl1oK6kACfUzsOoMmfYrxegcnSUtluXZF8
G4gAn1AS66xWzHzzt/A1mfIQg8HTF7d2
=rwt5
-----END PGP SIGNATURE-----

>
> Data.FiniteMap no longer exists - it was superseded by Data.Map.
> The two APIs are similar, except that the order of arguments is
> generally reversed.
>
> Regards,
>    Malcolm

But if he's feeling lazy, he can use
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/FiniteMap

-- 
gwern


More information about the Haskell-Cafe mailing list