Logiweb(TM)

Logiweb aspects of occur ( " , " , " ) in pyk

Up Help

The "pyk" aspect

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

The "value" aspect

define value of occur ( t , u , s ) as norm { t is val : { u is val : { s is val : if u r= quote unifresh ( true , true ) end quote then { t t= u } .or. occur ( t , s [[ u second idx ]] , s ) else occur* ( t , u tail , s ) } } } end define

The pyk compiler, version 0.1.9 by Klaus Grue,
GRD-2007-07-12.UTC:20:11:58.175987 = MJD-54293.TAI:20:12:31.175987 = LGT-4690987951175987e-6