Parameter order of runReader, evalState (Was: expanded standard lib)

Henning Thielemann lemming at henning-thielemann.de
Thu Nov 22 06:49:16 EST 2007


On Tue, 20 Nov 2007, Ross Paterson wrote:

> On Mon, Nov 19, 2007 at 11:31:51PM +0100, Bjorn Bringert wrote:
> > On Nov 19, 2007, at 23:13 , Henning Thielemann wrote:
> >> I like to see MTL split into a Haskell98 part and an advanced part. I
> >> mostly use functionality which would nicely fit into a Haskell98 interface
> >> and find it annoying that by importing MTL my code becomes less portable.
> >
> > Yes! Please!
>
> You mean something like http://darcs.haskell.org/packages/mtl-split ?
> The plan is to split Control.Monad.Identity, Control.Monad.Trans and
> Control.Monad.Trans.* off into a separate portable, low-level package.

I noticed that I frequently use (flip runReader, flip evalState) for
point-free programming. What was the reason to choose the current order?
What is the experience of other programmers?


More information about the Libraries mailing list