Logiweb(TM)

Logiweb aspects of vector-prefix ( " , " ) in pyk

Up Help

The "pyk" aspect

Define pyk of vector-prefix ( asterisk , asterisk ) as "vector-prefix ( "! , "! )" end define

The "value" aspect

optimized define value of vector-prefix ( x , e ) as norm { x is val : { e is val : if vector-empty ( x ) .or. { e <= 0 } then "" else vector-cons ( vector-head1 ( x ) , vector-prefix ( vector-tail1 ( x ) , e - 1 ) ) } } 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