Peano Composition Outputs

Sum compositions

With Swap

composition complex::sum as complex::sumSwap { apply swap  => a0; }

With Cache

composition complex::sum as complex::sumCache { apply cache(prefix: 'sum_') => {a3, a4, a5}; }

With Swap and Cache

composition complex::sum as complex::sumComplete {
  apply swap                  => a0;
  apply cache(prefix: 'sum_') => {a3, a4, a5};
}

Mult compositions

With Swap

composition complex::mult as complex::multSwap { apply swap => a0; }

With Cache

composition complex::mult as complex::multCache { apply cache(prefix: 'mult_') => {a3, a4, a5}; }

With Swap and Cache

composition complex::mult as complex::multComplete {
  apply swap                   => a0;
  apply cache(prefix: 'mult_') => {a3, a4, a5};
}
examples/peano/outputs.txt · Last modified: 2010/01/14 12:31 by mosser
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0