I wrote this simple monad (is it its correct name?):

   asd =: 3 : 0
t =. 2*(1+y)
1+t*(t-1)+i.4
)


It works very well if I call it with just a number as parameter. I'd
like to call it with a list as parameter, for example:

asd 1 2 3

and I'd like to have the same output that

(asd 1), (asd 2), asd 3

would have. I thought I had to look for the map equivalent, in the
vocabulary I found {:: but I wasn't able to make it work.
Thank you for any help!

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

Reply via email to