[Inquiry] Re: Theme One Program -- Commentary -- Apse

Jon Awbrey jawbrey at att.net
Wed Jan 26 15:36:12 CST 2005


o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o

TOP.  Commentary Note 46

o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o~~~~~~~~~o

Apse.

Apse is a function from pairs of ideas to ideas that
acts as a specialized significance and equality test.
Its functional value is nil unless each of the two
argument ideas points to a form and each of these
forms has the same non-nil idea in its 'as'-field,
in which case the second argument idea is returned
as the functional value.

The following figure illustrates the case of a non-nil result:

   ^ ante (that) = ^ ante (this) =/= nil
    \               \
     o---o           o---o
     |   |           |   |
     o---o           o---o
     ^               ^
that |          this | = apse (that, this)
     @               @

function apse (that, this: idea): idea;
begin
 apse := divert (equity (ante (that), ante (this)), 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