5!:5 works with names. Tacit defns do not. There is really no hope to have a completely tacit version of what 5!:5 <'y' does. The tacit translator failed on the expression 13 : '5!:5<''y'''. It should have failed in a more obvious, more spectacular, way.
On Thu, Jan 23, 2014 at 12:39 AM, Linda Alvord <lindaalv...@verizon.net>wrote: > Roger, I wasn't sure what to expect, but this is odd. Why 1? > > lr=: 3 : '5!:5<''y''' > lr ;:'Fire is catching. If we burn, you burn with us!' > <;._1 ' Fire is catching. If we burn , you burn with us !' > > <;._1 ' Fire is catching. If we burn , you burn with us !' > -----T--T---------T--T--T----T-T---T----T----T--T-┐ > │Fire│is│catching.│If│we│burn│,│you│burn│with│us│!│ > L----+--+---------+--+--+----+-+---+----+----+--+-- > > lr2=: 13 : '5!:5<''y''' > lr2 ;:'Fire is catching. If we burn, you burn with us!' > 1 > > Linda > > > -----Original Message----- > From: programming-boun...@forums.jsoftware.com > [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Roger Hui > Sent: Wednesday, January 22, 2014 12:59 PM > To: Programming forum > Subject: Re: [Jprogramming] What's in a noun? > > You have found an Easter egg! > > lr=: 3 : '5!:5<''y''' > > lr 3+4*i.100 > 3+4*i.100 > lr 3 5 7 9 11 13 15 17 19 > 3+2*i.9 > lr (1e6$'J'),'J' > 1000001$'J' > lr ;:'Fire is catching. If we burn, you burn with us!' > <;._1 ' Fire is catching. If we burn , you burn with us !' > > etc. > > The limit error is in the computation to produce 5!:5<'A' > > > > On Wed, Jan 22, 2014 at 9:38 AM, Ben Gorte - CITG > <b.g.h.go...@tudelft.nl>wrote: > > > Hi, > > > > It's nothing to worry about, but the other day I stumbled at something > > like this: > > > > A=: (i.12)+(2*i.12)+i.12 > > A&* > > (4*i.12)&* > > > > Never mind my two input lines - I was surprised, however, by the third > > (the output). > > Or shouldn't I be? > > > > Then I found: > > 5!:5 < 'A' > > 4*i.12 > > > > but still... > > > > Here it's already an advantage: > > A=. i.1e6 > > 5!:5 < 'A' > > i.1000000 > > > > But then I'd say this could also work: > > A=. i.1e8 > > 5!:5 < 'A' > > |limit error > > > > (I'm using 32bit) > > > > Greetings, > > Ben > > > > > > ---------------------------------------------------------------------- > > 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