argument ordering

Frederik Eaton frederik at
Wed Aug 24 13:31:22 EDT 2005

This is the most convincing argument yet, in my opinion.


On Tue, Aug 23, 2005 at 01:00:30PM +0300, Yitzchak Gale wrote:
> 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
> Data.Map.
> -Yitz
> _______________________________________________
> Libraries mailing list
> Libraries at


More information about the Libraries mailing list