Dan,
1. Your explicit r1 is the clearest solution.
2. I was blindsided by tacit immutability and still wanted to do it "my way."
3. Is an adverb named "mutable constant" really hiding?
4. Your explicit r1 is the clearest solution. Thanks for helping me understand.
Kip
Dan Bron wrote:
>> Now I have an adverb mc that creates "mutable constants" for tacit verbs:
>
> You could also use mc =: ". bind or mc =: (3 :) (@]) etc.
>
> But now you've come full circle. You're trying to hide explicitness in
> tacitness. Why?
>
> What is the advantage of
>
> r3 =: ('d' mc) {~ ] |~ [: # ('d' mc)
>
> over
>
> r1 =: 3 : 'd {~ y |~ #d'
>
> ? Why not be up front about explicitness?
>
> -Dan
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm