aPhrase =: (@{) (`[) (`]) }
3 4 5 +:aPhrase i. 10
(Off the cuff & untested.)
-Dan
Please excuse typos; composed on a handheld device.
-----Original Message-----
From: Justin Paston-Cooper <[email protected]>
Sender: [email protected]
Date: Tue, 23 Nov 2010 22:05:21
To: Programming forum<[email protected]>
Reply-To: Programming forum <[email protected]>
Subject: [Jprogramming] A phrase for amendment
What is a common phrase for replacing element n in an array a by
itself applied to a monad m?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm