On Sun, Dec 26, 2021 at 10:50 PM Jose Mario Quintana <[email protected]> wrote: > ..however, in J there is an official obsession (in my opinion) > restricting verbs to return nouns, only nouns, and nothing but > nouns.
You say that like it's a bad thing. There are a variety of things I could wish for J: the ability to put sparse arrays in boxes, for example. But we have several ways of of representing verbs as nouns. (And I think explicit code pairs nicely with tacit code.) There's a lot of other work which would need to be done to have a consistent and robust implementation in a system where (for example) F in F/Y has an arbitrary rank and could sometimes return a verb. (And, yes, this case could be solved, by throwing errors liberally, or I suppose by crashing the J session, but this is just one example. More importantly, how do you teach people to understand that kind of construct?) Finally, what's wrong with ^@:-@:(*~) 2 0.0183156 Or, for that matter 0 0 _1 ^@p. 2 0.0183156 ? -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
