Logiweb(TM)

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

Up Help

The "pyk" aspect

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

The "value" aspect

define value of unify ( t , u , s ) as norm { t is val : { u is val : { s is val : if t r= quote unifresh ( true , true ) end quote then unify2 ( t , u , s ) else if u r= quote unifresh ( true , true ) end quote then unify2 ( u , t , s ) else if t r= u then unify* ( t tail , u tail , s ) else error ( t , diag ( "Unable to unify" ) disp ( t ) diag ( "with" ) disp ( u ) end diagnose ) } } } 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