Project

General

Profile

Feature #9783

[PATCH] Add Method#curry

Added by plexus (Arne Brasseur) about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:62212]

Description

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

Also available in: Atom PDF