/** * Runs the given computation with the given initial argument and returns * its final answer. * * @param c the computation to run. * @param initArg the initial argument to the computation. */ public IResut Run(Computation c, Object initArg) { return c.Apply(initArg); }
/** * Runs the given computation with the given initial argument and returns * its final answer. * * @param c the computation to run. * @param initArg the initial argument to the computation. */ public IResut Run(Computation c, Object initArg) { return(c.Apply(initArg)); }
/** * Runs the given computation and returns its final answer. * * @param c the computation to run. * @return the final answer. */ public IResut Run(Computation c) { return c.Apply(); }
/** * Runs the given computation and returns its final answer. * * @param c the computation to run. * @return the final answer. */ public IResut Run(Computation c) { return(c.Apply()); }