argument ordering

Yitzchak Gale gale at
Tue Aug 23 06:00:30 EDT 2005

Just for the record, I would like to
point out that for those of us who
are heavy users of state monads, having
the container as the last argument is
a huge convenience. That way, when you
use the container as state (and what else
would you ever want to do with a container?),
you can use modify, gets, modifySTRef, etc.
without gratuitous flips all over the place.

In fact, I always assumed that was the motivation
for the API change between Data.FiniteMap and


More information about the Libraries mailing list