[Inquiry] Re: Propositions As Types -- Series A

Jon Awbrey jawbrey at att.net
Mon Jun 21 14:48:36 CDT 2004


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

PAT.  Note A5

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

Composition, or the Composer

Step 1.

Given a specification of the "composition combinator",
or the "composer" P, that has the following effects:

   x(y(zP)))  =  (xy)z

find an explication of P in terms of primitive combinators.

Proceed as follows:

   (xy)z  =  (xy)(x(zK))  =  x(y((zK)S))

   (zK)S  =  (zK)(z(SK))  =  z(K((SK)S)) 

   =>

   x(y(zP))  =  (xy)z  =  x(y(z(K((SK)S))))

   =>

   P  =  (K((SK)S))

Jon Awbrey

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