Пример #1
0
        protected override GrassFunc Curry(GrassFunc arg)
        {
            GrassProjection2 newFunc = new GrassFalse(_CurrentArgNumber + 1);

            newFunc.CopyFuncStack(_FuncStack);
            newFunc.Push(arg);
            return(newFunc);
        }
Пример #2
0
 protected override GrassFunc Curry(GrassFunc arg)
 {
     GrassProjection2 newFunc = new GrassFalse(_CurrentArgNumber + 1);
     newFunc.CopyFuncStack(_FuncStack);
     newFunc.Push(arg);
     return newFunc;
 }