Viktor Cerovski <[EMAIL PROTECTED]> wrote:

> [I]n fact, monads are exactly
> the solution to the problem of how to introduce stateful
> functions (or, in other words, side-effects) into a pure-functional
> language.
>

Taking tacit expression as a pure-functional portion of the J
language, how can this solution be effected?  For some weeks I've been
trying, unsuccessfully, to envision J equivalents to Haskell's monads
and arrows.

It may be that because J is a multi-paradigm language there is no
possibility of a parallel, but I don't find that idea plausible. The
limited functional purity of J may make such solutions unattractive or
awkward, but since there is a rather clear-cut range within which
functional purity is maintained, my guess is that the technique you
applaud can be accomplished in J.

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

Reply via email to