You can search in the comp.lang.apl discussion this
past summer.  Phil Last provided an ingenious dop
that can do fork.

In usage, this fork operator is not as nice.
Compare:

+/ % #     vs.  +/ fk % fk #

As well, because the fork operator is an operator,
it obeys operator precedence and some expression
involving it would require more parentheses than the
fork in J.  That is the benefit (and the cost) of having
a special parsing rule for fork in J.



----- Original Message -----
From: Dan Baronet <dbaro...@yahoo.com>
Date: Monday, November 22, 2010 10:30
Subject: Re: [Jprogramming] tacit programming
To: Programming forum <programming@jsoftware.com>

> How would you do that in Dyalog?
> 
> 
> 
> ----- Original Message ----
> From: Roger Hui <rhui...@shaw.ca>
> To: Programming forum <programming@jsoftware.com>
> Sent: Mon, November 22, 2010 11:06:16 AM
> Subject: Re: [Jprogramming] tacit programming
> 
> ...and only J has fork.  (In Dyalog APL, you can define an 
> operator that does fork, but the definition is not obvious
> and in usage is not as pretty.)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to