Thanks for the tips. > On Oct 16, 2021, at 3:22 PM, Ian Clark <[email protected]> wrote: > > Learning to use J effectively is about training your mind to work like the > parser. > In another couple of years you'll be writing… > > foo=: 13 : '":y = ":y' NB. convert explicit to tacit > foo > [: ": ] = ": > foo 123 > 0 0 0 > NB. wtf? ... > 5!:5 <'foo' > [: ": ] = ": > 5!:6 <'foo' > [: ": (] = ":) > > which substantiates Raul's explication. > > Or use: Dissect. > > It's on my bucket list to write the above proof (?) as a single verb, call > it "brackit". > The trouble with 5!:6 is that it works on a proverb, not a verb. So maybe > brackit needs to be an adverb. > > BTW - here's what some may think about training your mind to work like the > parser… > https://code.jsoftware.com/wiki/Essays/Izzy_The_Genius_Tailor > > On Sat, 16 Oct 2021 at 21:10, P Padilcdx <[email protected]> wrote: > >> Yes it does, thank you! >> >>> On Oct 16, 2021, at 1:06 PM, Raul Miller <[email protected]> wrote: >>> >>> ":123 is equivalent to '123' >>> 123='123' is equivalent to 0 0 0 >>> ":0 0 0 is equivalent to '0 0 0' >>> >>> More generally, in J when dealing with nouns, verbs and/or assignment >>> statements, evaluation is strictly right to left. >>> >>> I hope this makes sense, >>> >>> -- >>> Raul >>> >>> On Sat, Oct 16, 2021 at 4:04 PM P Padilcdx <[email protected]> wrote: >>>> >>>> Hopefully a quick newbie question. When I execute ":123 = “:123 I get >> 0 0 0. Needless to say, I expected 1 1 1. Any clarification/explanation >> much appreciated. >>>> >>>> Regards >>>> Pete >>>> ---------------------------------------------------------------------- >>>> For information about J forums see http://www.jsoftware.com/forums.htm >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
