Exemplo n.º 1
0
        protected override GrassFunc Curry(GrassFunc arg)
        {
            GrassProjection2 newFunc = new GrassFalse(_CurrentArgNumber + 1);

            newFunc.CopyFuncStack(_FuncStack);
            newFunc.Push(arg);
            return(newFunc);
        }
Exemplo n.º 2
0
 protected override GrassFunc Curry(GrassFunc arg)
 {
     GrassProjection2 newFunc = new GrassFalse(_CurrentArgNumber + 1);
     newFunc.CopyFuncStack(_FuncStack);
     newFunc.Push(arg);
     return newFunc;
 }