All pastes #293421 Raw Edit

picoeva

public text v1 · immutable
#293421 ·published 2006-12-27 16:06 UTC
rendered paste body
      `Added for nondeterministic computing`
      eval_amb(Exp):=
        call(
          { tbl: Exp[AMB_TAB_idx];
            tab: tbl[TAB_TAB_idx];
            siz: size(tab);
            ctr: Exp[AMB_CTR_idx];
            if(siz=0
               continue(cont, AFS()),
               if(ctr > siz,
                  continue(cont, AFS()),
                  continue(cont, eval(tab[ctr])))) };