Please, where is this vocabulary page on M.?

Raul Miller wrote:
On 10/27/07, david alis <[EMAIL PROTECTED]> wrote:
What is happening is that repeated invocations of foo_with_M produce
identical results when successive arguments are the same.

In this example the value of n doesn't change between invocations.
Is this correct?

That is what it is supposed to do.

Here's another simpler example:
   ? bind 1000 M. "0 ] 4#i.1 3
740 105 669
740 105 669
740 105 669
740 105 669

Here's what the vocabulary page on M. says:

   u M. is the same as u but may keep a record of the arguments
   and results for reuse.

It looks to me like M. is doing what it is supposed to be doing:
reusing results when some arguments are reused.


--
------------------------------------------------------------------------
|\/| Randy A MacDonald       | APL: If you can say it, it's done.. (ram)
|/\| ramacd <at> nbnet.nb.ca |
|\ |                         | The only real problem with APL is that
BSc(Math) UNBF'83            | it is "still ahead of its time."
Sapere Aude                  |     - Morten Kromberg
Natural Born APL'er          |
-----------------------------------------------------(INTP)----{ gnat }-



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

Reply via email to