argument ordering
Frederik Eaton
frederik at a5.repetae.net
Wed Aug 24 13:31:22 EDT 2005
This is the most convincing argument yet, in my opinion.
Frederik
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 haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
--
http://ofb.net/~frederik/
More information about the Libraries
mailing list