> Van: programming-boun...@jsoftware.com [mailto:programming-
> boun...@jsoftware.com] Namens Linda Alvord
> Onderwerp: Re: [Jprogramming] FW: A simple function
> 
> If you remove my main objection  @   you will begin to consider functions
> from right to left. Each function on the left is then applied to the
already
> composed expression on the right. The trains you create will be composed
of
> hooks and forks which can be expressed in tacit form.
(...)
> 
> Linda
> 

IMO the role of @ is essential and by removing it you amputate J. 
How would you form trains equivalent to 

   (i.2 1)<@|: i.2 3
+---+-----+
|0 3|0 1 2|
|1 4|3 4 5|
|2 5|     |
+---+-----+

   (i.2 3)<@# 2 3 4
+-----+-----------------------+
|3 4 4|2 2 2 3 3 3 3 4 4 4 4 4|
+-----+-----------------------+

  (1+ i.2 1)<@{.i.2 3 4
+---------+-----------+
|0 1  2  3| 0  1  2  3|
|4 5  6  7| 4  5  6  7|
|8 9 10 11| 8  9 10 11|
|         |           |
|         |12 13 14 15|
|         |16 17 18 19|
|         |20 21 22 23|
+---------+-----------+

?


R.E. Boss




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

Reply via email to