[Inquiry] Re: Theme One Program -- Commentary -- Knap
Jon Awbrey
jawbrey at att.net
Tue Jan 25 13:56:37 CST 2005
o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o
Knap.
Knap is a transformation of ideas that acts as a predicate recognizer.
Its functional value is nil unless its argument idea points to a form
whose 'sign' field contains a right parenthesis and whose 'by'-field
addresses its own form, in which case the argument idea is returned
as the functional value. The following figure shows the type of
configuration that is required for a non-nil result.
o---------o
| o---o |
o->| ) |--o
o---o
^
this | = knap (this)
@
function knap (this: idea): idea;
begin
knap := equity (next (this), rest (this))
end;
o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o
inquiry e-lab: http://stderr.org/pipermail/inquiry/
o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o
More information about the Inquiry
mailing list