Re: [Jprogramming] left argument for !.

2014-06-18 Thread Raul Miller
On Wed, Jun 18, 2014 at 9:11 AM, 'Pascal Jasmin' via Programming wrote: > ... it is extremely unlikely that you want to use !. with a "random" > verb, and so a sentence would be tied closely to !., and its likely > that the sentence was not intended. Yes. Imagine a discussion of the behavior of

Re: [Jprogramming] left argument for !.

2014-06-18 Thread 'Pascal Jasmin' via Programming
t intended. Still, there is a workaround:    head f. !.1 '' 1 From: Raul Miller To: Programming forum Sent: Wednesday, June 18, 2014 7:27:08 AM Subject: Re: [Jprogramming] left argument for !. I think it's a feature. -- Raul On Wed, Jun 18,

Re: [Jprogramming] left argument for !.

2014-06-18 Thread Raul Miller
I think it's a feature. -- Raul On Wed, Jun 18, 2014 at 7:02 AM, bill lam wrote: > I found !. does not work if the verb on its left is a name instead of > primitive, eg > > {. !.1 '' NB. ok > head=. {. > head !.1 '' NB. domain error > > Is this a feature or a bug? > > Interestingly assigning

[Jprogramming] left argument for !.

2014-06-18 Thread bill lam
I found !. does not work if the verb on its left is a name instead of primitive, eg {. !.1 '' NB. ok head=. {. head !.1 '' NB. domain error Is this a feature or a bug? Interestingly assigning a name to !. itself is ok {.fit 1 '' tested on J6 and J7 engine. ---