Since 'aa'=: \ It isn't special that it also fails in an ". argument.
On Tue, Aug 16, 2016, 10:36 PM Paul Jackson <[email protected]> wrote: > I thought I'd seen an error defining a verb within a verb when I wrote > 'turns out it cannot. ' > I am unable to replicate that error. > > On Tue, Aug 16, 2016, 3:29 PM Henry Rich <[email protected]> wrote: > >> Parsing blunder. Something as simple as >> >> 'aa' =: \ >> >> fails. Will be fixed in next beta/release. >> >> I don't understand 'turns out it cannot'. Are you reporting an error >> here? >> >> I cannot find a problem with ". on non-noun producing non-empty. Please >> give a testcase. >> >> Henry Rich >> >> On 8/16/2016 2:08 PM, Paul Jackson wrote: >> > Given: >> > >> > def >> > 2 : 0 >> > (m)=: n : y >> > 'done' >> > ) >> > >> > 'verb'def 3 'y- 10' >> > done >> > >> > 'adv' def 1 'u\ y' >> > |syntax error >> > | (m)=:n :y >> > >> > 'conj'def 2 '(u y)+ (v y)' >> > |syntax error >> > | (m)=:n :y >> > >> > I saw this problem when J805 beta first released, but I don't like >> > reporting something that requires lots of code. Rewriting it this way >> made >> > me wonder if a verb could not create a verb. It turns out it cannot. >> > >> > In trying to find a workaround, I also discovered that ". doesn't >> provide >> > an empty if the result is not a noun. >> > >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > > -- > > Paul > 650-766-1863 > -- Paul 650-766-1863 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
