Logiweb(TM)

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

Up Help

The "pyk" aspect

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

The "value" aspect

define value of unify2 ( t , u , s ) as norm { t is val : { u is val : { s is val : if t t= u then s else LET s [[ t second idx ]] BE { asterisk IN LET asterisk BE { t prime IN if t prime != true then unify ( t prime , u , s ) else if occur ( t , u , s ) then exception else { s [[ t second idx -> u ]] } } } } } } 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