Have you looked at M. ?
http://www.jsoftware.com/help/dictionary/dmcapdot.htm



----- Original Message -----
From: Tracy Harms <[EMAIL PROTECTED]>
Date: Saturday, November 29, 2008 5:02
Subject: [Jprogramming] Functional solutions to side-effect dependencies
To: Programming forum <[email protected]>

> 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.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to