Searched refs:curry (Results 1 - 4 of 4) sorted by relevance

/macosx-10.9.5/ruby-104/ruby/test/ruby/
H A Dtest_proc.rb218 assert_equal(6, b.curry[1][2][3])
219 assert_equal(6, b.curry[1, 2][3, 4])
220 assert_equal(6, b.curry(5)[1][2][3][4][5])
221 assert_equal(6, b.curry(5)[1, 2][3, 4][5])
222 assert_equal(1, b.curry(1)[1])
225 assert_equal(6, b.curry[1][2][3])
226 assert_equal(10, b.curry[1, 2][3, 4])
227 assert_equal(15, b.curry(5)[1][2][3][4][5])
228 assert_equal(15, b.curry(5)[1, 2][3, 4][5])
229 assert_equal(1, b.curry(
[all...]
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/UglifyJS/
H A Dparse-js.js906 var switch_block_ = curry(in_loop, function(){
1006 return subscripts(prog1(expression, curry(expect, ")")), allow_calls);
1096 return subscripts(as("sub", expr, prog1(expression, curry(expect, "]"))), allow_calls);
1103 return prog1(curry(make_unary, "unary-postfix", S.token.value, expr),
1193 function curry(f) { function
1237 exports.curry = curry;
/macosx-10.9.5/ruby-104/ruby/bootstraptest/
H A Dtest_proc.rb265 b = a.curry[1]
/macosx-10.9.5/ruby-104/ruby/
H A Dproc.c2126 static VALUE curry(VALUE dummy, VALUE args, int argc, VALUE *argv, VALUE passed_proc);
2139 proc = rb_proc_new(curry, args);
2146 curry(VALUE dummy, VALUE args, int argc, VALUE *argv, VALUE passed_proc) function
2171 * prc.curry -> a_proc
2172 * prc.curry(arity) -> a_proc
2182 * p b.curry[1][2][3] #=> 6
2183 * p b.curry[1, 2][3, 4] #=> 6
2184 * p b.curry(5)[1][2][3][4][5] #=> 6
2185 * p b.curry(5)[1, 2][3, 4][5] #=> 6
2186 * p b.curry(
[all...]

Completed in 118 milliseconds