I guess I asked because that has been the case in the past, and I did not have a copy of that Clock and train handy to test to see if the code worked, and I had not done enough exercises with them to just see how your code samples worked by reading them.
So... now I know. Thanks, -- Raul On Mon, Aug 15, 2016 at 7:23 PM, Jose Mario Quintana <[email protected]> wrote: > No, I am not particularly "talking" about Jx. I wrote in the first post of > this thread "Official interpreters will be the standard equipment" (unless > it is clarified otherwise) and the script session fragment I presented > certainly runs under the beta-10 engine, > > JVERSION > Engine: j805/j64/windows > Beta-10: commercial/2016-08-01T13:13:21 > Library: 8.04.15 > Qt IDE: 1.4.10/5.4.2 > Platform: Win 64 > Installer: J804 install > InstallPath: j:/program files/j > Contact: www.jsoftware.com > > NB. Run (e.g., (0!:0)@:<'...') the Wicked Tacit Toolkit script here [0] > > ct=. (Cloak@:(]&.:train)@:;:)f. > > (ct 'b./') &.> 17 23 32 33 34 > ┌──────┬──────┬──────┬──────┬──────┐ > │17 b./│23 b./│32 b./│33 b./│34 b./│ > └──────┴──────┴──────┴──────┴──────┘ > > Ct=. ct f.adv > > 'b./'Ct&.> 17 23 32 33 34 > ┌──────┬──────┬──────┬──────┬──────┐ > │17 b./│23 b./│32 b./│33 b./│34 b./│ > └──────┴──────┴──────┴──────┴──────┘ > > ct > ,^:(0:`((0:`)(,^:)))@:(]&.:(,^:(0:``:)&6 :.(<@:((,'0') ,&< ]))))@:;: > > Ct > ("_)(((`'')(&(,^:(0:`((0:`)(,^:)))@:(]&.:(,^:(0:``:)&6 :.(<@:((,'0') ,&< > ]))))@:;:@:(,^:(0:``:)&6 :.(<@:((,'0') ,&< ]))@:(<@:((0;1;0)&({::))))@:[) > ))((`_)(`:6))) > > Why did you ask? Perhaps because some of my statements were > misleading or unclear > to you? Maybe you think I made a mistake (which definitely I am quite > capable of making)? > > > [0] [Jprogramming] Tacit Toolkit (was dyadic J) > http://www.jsoftware.com/pipermail/programming/2015-December/043757.html > > > > > > > On Mon, Aug 15, 2016 at 8:04 AM, Raul Miller <[email protected]> wrote: > >> Er... if I remember right, you are not talking about the J we can >> download from jsoftware.com but your modified version? >> >> Thanks, >> >> -- >> Raul >> >> >> On Sun, Aug 14, 2016 at 11:16 PM, Jose Mario Quintana >> <[email protected]> wrote: >> > I forgot to emphasize, is better late than never, that fully fixed tacit >> > (no compromises) cloak-train compositions can be produced as follows, >> first >> > as a higher-order verb, >> > >> > ct=. (Cloak@:(]&.:train)@:;:)f. >> > >> > (ct 'b./') &.> 17 23 32 33 34 >> > ┌──────┬──────┬──────┬──────┬──────┐ >> > │17 b./│23 b./│32 b./│33 b./│34 b./│ >> > └──────┴──────┴──────┴──────┴──────┘ >> > >> > or, if parentheses are (for some reason) a concern, as and adverb, >> > >> > Ct=. ct f.adv >> > >> > 'b./'Ct&.> 17 23 32 33 34 >> > ┌──────┬──────┬──────┬──────┬──────┐ >> > │17 b./│23 b./│32 b./│33 b./│34 b./│ >> > └──────┴──────┴──────┴──────┴──────┘ >> > >> > using the toolkit adverb adv to adverb ct. >> > >> > The primitive words ;: provides the means to produce a gerund (in the >> > form of a list) from a linear sequence of primitives or pro-words. >> > However, train can take any gerund, or even a non-gerund, representing >> > any general sentence (as long as the odd one out copula is not directly >> > involved), that `:6 is able to digest. >> > >> > >> > >> > On Wed, Aug 3, 2016 at 6:15 PM, 'Pascal Jasmin' via Programming < >> > [email protected]> wrote: >> > >> >> in j805, I get a syntax error with my CloakV verb >> >> >> >> train >> >> ,^:(0:``:)&6 :.(< ,^:(0:`@:) (,'0') ,&< ]) >> >> >> >> >> >> train seems quite useful. tacit verb version of my eval adverb. >> >> >> >> >> >> (train ;:'&o.') >> >> &o. >> >> >> >> so far so good, but this is an adverb. So maybe you intended the left >> to >> >> be another adverb >> >> >> >> >> >> CloakV(]&.:)(train ;:'&o.') >> >> ]&.:CloakV&o. >> >> >> >> could almost be right... but its not, and I crashed J trying to fix it. >> >> So not in a good mood about it. >> >> >> >> (CloakV '&o.') each 1 2 3 >> >> ┌────┬────┬────┐ >> >> │1&o.│2&o.│3&o.│ >> >> └────┴────┴────┘ >> >> >> >> is nowhere near as good as >> >> >> >> >> >> '&o.'Cloak each 1 2 3 >> >> ┌────┬────┬────┐ >> >> │1&o.│2&o.│3&o.│ >> >> └────┴────┴────┘ >> >> >> >> no parens needed. and oa is awesome :P >> >> >> >> oa =: 1 :'u Cloak @:' NB. manual a c conjunction version >> >> >> >> >> >> '&o.'Cloak 'ar' oa each 1 2 3 >> >> '&o.'Cloak '`''''' oa each 1 2 3 NB. same >> >> >> >> >> >> '&o.'Cloak 'ar' oa each '/.'oa 1 2 3 >> >> 1&o.`(2&o.)`(3&o.)/. >> >> >> >> its almost fixed. aar is "semi-tacit" adverb used within Cloak, but its >> >> just a helper function. so is oa >> >> >> >> '/.' 1 : ' u Cloak @:' >> >> ,^:(0:`/.)@: >> >> >> >> But anyways, I really like Cloak adverb. >> >> >> >> a different application principle than the double verb, is simply a >> double >> >> noun. Which doesn't need any modifiers, and works with dyads. Works >> for >> >> testing. But this conjunction is neater than the double verb method >> (tie >> >> is structured to work with nouns too) >> >> >> >> >> >> CLapply =: 2 : 'u@:] ''tie''Cloak ''`:6''oa v' >> >> >> >> >> >> 0.25 0.5 0.75 '&o.'Cloak 'ar' oa each '/.'oa '@:(o.@:(%&3))'oa >> >> CLapply[ 1 2 3 >> >> 0.258819 >> >> 0.866025 >> >> 1 >> >> >> >> >> >> "tacit enough" :P >> >> >> >> '&o.'Cloak 'ar' oa each '/.'oa '@:(o.@:(%&3))'oa CLapply[ >> >> ,^:(0:`(@:(o.@:(%&3))))@:(,^:(0:`/.)@:(,^:(0:`ar)@:(,^:(0:`( >> &o.)))&.>))@:] >> >> ,^:(0:`(`:6))@:(,^:(0:`tie)) [ >> >> >> >> >> >> >> >> > ---------------------------------------------------------------------- >> > 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
