[Jprogramming] My first adverb - doesn't work!
Tracy Harms
tharms at symantec.com
Thu Nov 8 03:24:25 HKT 2007
Jose Mario Quintana wrote:
> The pure tacit form of CHAR is just a variation of Henry's suggestion:
>
> char=. &: (a.&i.)
> ...
> When it is invoked it renders an ambivalent verb.
Thus, Mark's tacit version was not identical to the prior versions,
which return a domain error if used monadically.
In the long (1 : 0) definitions we can use [: in the monadic definition
to result in a syntax error, instead. That error seems preferable to the
domain error, but I'm happy to hear other opinions.
I've tried to think of a way to make a tacitly-defined adverb strictly
dyadic, but cannot identify any way to do so.
More information about the Programming
mailing list