[Jprogramming] tacit adverb with hook
Roger Hui
rhui000 at shaw.ca
Thu Aug 10 23:40:38 HKT 2006
The bident adverb verb no longer works as a result
of changes made in J5.01 in September 2002. You can
get an equivalent expression as follows:
incrby=: 1 : '(u&>) i.'
v incrby 6
6 7 10 15 22 31
----- Original Message -----
From: June Kim <juneaftn at gmail.com>
Date: Thursday, August 10, 2006 2:25 am
Subject: [Jprogramming] tacit adverb with hook
> On p. 47 of Norman Thomson's J: The Natural Language for Analytic
> Computing, there is a tacit definition of an adverb called incrby:
>
> v=.+*:
>
> (v i.) 6
> 6 7 10 15 22 31
> incrby=. (&>) i.
> v incrby 6
> 6 7 10 15 22 31
>
> I get syntax error on J601beta. Has the syntax rule changed?
More information about the Programming
mailing list