@ Raul https://code.jsoftware.com/wiki/Essays/Tacit_Expressions Hmm…
I can't make head or tail of that page. Wouldn't putting it there simply bury it? Henry says "somewhere prominent" and I heartily agree. How about writing it as a standalone Essay which can be linked from anywhere? I'd then link to it from https://code.jsoftware.com/wiki/Vocabulary/co just under the line: (i) *Direct definition* {{ … }} is a RECOMMENDED simpler alternative for defining new verbs and other entities. e.g. "(See a worked example at: Essays/Towards readable tacit definitions)" On Sun, 21 Nov 2021 at 04:46, Raul Miller <[email protected]> wrote: > Hmm... it looks like > > https://code.jsoftware.com/wiki/Essays/Tacit_Expressions#Tacit_Valued_Explicit_Definitions > would be the right place to put an example like this. > > I'm not sure that this particular example is general enough. I'll > sleep on it, and if I can't think of anything better, I guess I'll > just use it as is. > > Thanks, > > -- > Raul > > On Sat, Nov 20, 2021 at 10:48 AM Henry Rich <[email protected]> wrote: > > > > Damn, that's beautiful. Can you make sure it gets into the Wiki > > somewhere prominent? > > > > Henry Rich > > > > On 11/19/2021 9:03 PM, Raul Miller wrote: > > > Actually, thinking about this, there's a way of abusing the parser to > > > express tacit definitions in a multiline format that's fairly > > > readable. For this example: > > > > > > glqtextmetrics=: _{{ > > > m=. '"',libjqt,'" glqtextmetrics ',(IFWIN#'+'),' i *i' > > > u=. m&cd@(<7#00) > > > (1&{:: [ chkgl2)@u"1 > > > }} > > > > > > This is kind of a one-off approach, though, and when putting together > > > a library like gl2 it might be better to encapsulate some of this for > > > reuse. > > > > > > Thanks again, > > > > > > > > > -- > > This email has been checked for viruses by AVG. > > https://www.avg.com > > > > ---------------------------------------------------------------------- > > 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
