Hmm... One issue here is that the specific example in this thread was "pretty" because of two arbitrary obstacles:
(1) email line wrapping, and (2) it was an ad-hoc cd call with a large cd signature. In other words, there's a niche for this kind of thing, but outside of email exchanges there's less pressure to use this technique. And, it's worth thinking about alternative examples (like maybe tacit expressions which contain an agenda with a large gerund). So, anyways, ... I've been trying to come up with some better examples But turning this into a wiki page raises another issue: what would be a good name for that wiki page? Would "Tacit Valued Explicit Definitions" be sufficiently evocative? Thanks, -- Raul On Sun, Nov 21, 2021 at 2:40 PM Ian Clark <[email protected]> wrote: > > @ 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
