From: nobu@...
Date: 2014-06-19T04:42:30+00:00
Subject: [ruby-core:63233] [ruby-trunk - Feature #9783] [Closed] [PATCH] Add	Method#curry

Issue #9783 has been updated by Nobuyoshi Nakada.

Status changed from Open to Closed
% Done changed from 0 to 100

Applied in changeset r46461.

----------
proc.c: Implement Method#curry

* proc.c (rb_method_curry): Implement Method#curry, which delegates
  to to_proc.curry.  [ruby-core:62212] [Feature #9783]

----------------------------------------
Feature #9783: [PATCH] Add Method#curry
https://bugs.ruby-lang.org/issues/9783#change-47277

* Author: Arne Brasseur
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: core
* Target version: 
----------------------------------------
There is already Proc#curry, but to curry a method you need to go through to_proc. This patch adds `Method#curry` which delegates to `method.to_proc.curry`.

Looking forward to seeing this discussed.

---Files--------------------------------
0001-Implement-Method-curry-which-delegates-to-to_proc.cu.patch (1.86 KB)
0001-Implement-Method-curry-which-delegates-to-to_proc.cu.patch (3.19 KB)


-- 
https://bugs.ruby-lang.org/