[Jprogramming] Re: Function-level programming

Raul Miller rauldmiller at gmail.com
Wed Feb 28 21:15:26 HKT 2007


On 2/27/07, neville holmes <holmeswn at yahoo.com.au> wrote:
> What I'd like is to be able to code is
>
>   stk =: ] ,: [.
>   pgr =: HdLt [. ] ]. TlLt
>
> which seems to me (now that other use of [. and ]. has been
> dropt) to be not only simple and elegant, but versatile as well.

To avoid having to come up with some new (and currently unknown)
rules for Dictionary II.E you would need to transform pgr from having
verb grammar with [. and ]. as placeholders to having conjunction
grammar.  In other words, your example would wind up looking something
like:

   pgr=: (HdLt [. ] ]. TlLt) Conjunction

where Conjunction might be some foreign or even some explicit
(though neither is currently possible because [. and ]. are
currently spelling errors), or (vague chance) something like :]

Do think this would be a significant improvement over what is
currently possible?

-- 
Raul


More information about the Programming mailing list