Hello,

Let's say I have a monad m " 0 and a 1-dimensional array f. The monad
returns 1-dimensional arrays of varying results which may include 0. I
would like to efficiently apply the monad m to array f and collect the
results returned by m in a 1-dimensional array. m f would not be
satisfactory because 0s may be added to the ends of the results which
are shorter than the longest result. Is this possible? Thanks for your
advice in advance.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to