Logiweb(TM)

Logiweb aspects of tuple2 ( " , " ) in pyk

Up Help

The "pyk" aspect

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

The "value" aspect

define value of tuple2 ( t , u ) as norm { t is val : { u is val : if .not. { u r= quote x ,, y end quote } then substitute ( t , quote u :: <<>> end quote , { quote u end quote :: u } :: true ) else substitute ( t , quote x :: y end quote , { quote x end quote :: { u first } } :: { { quote y end quote :: tuple2 ( t , u second ) } :: true } ) } } 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