Aai wrote:
> I'm interested in J solutions of an application of Haskell's monadic
> mapping:

I'm not quite sure if you're asking a general or a specific question.  But
to produce the Haskell output given its input, I would write:

    >@,@{@(<:,&.>>:)

or maybe I would make the implicit argument explicit:

    >@,@{@(-,&.>+)&1

-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to