Logiweb(TM)

Logiweb aspects of substitute* ( " , " , " ) in pyk

Up Help

The "pyk" aspect

Define pyk of substitute* ( asterisk , asterisk , asterisk ) as "substitute* ( "! , "! , "! )" end define

The "value" aspect

define value of substitute* ( r , t , s ) as norm { r is val : { t is val : { s is val : if t atom then true else { substitute ( r , t head , s ) :: substitute* ( r , t tail , s ) } } } } end define

The pyk compiler, version 0.1.9 by Klaus Grue,
GRD-2007-07-12.UTC:20:10:57.067491 = MJD-54293.TAI:20:11:30.067491 = LGT-4690987890067491e-6