From: nobu@... Date: 2016-10-20T02:02:18+00:00 Subject: [ruby-core:77673] [Ruby trunk Bug#12854][Feedback] Proc#curry should return an instance of the class, not Proc Issue #12854 has been updated by Nobuyoshi Nakada. Status changed from Open to Feedback What's the rationale or the use-case? Curried proc is not a subset of the original proc, I think. ---------------------------------------- Bug #12854: Proc#curry should return an instance of the class, not Proc https://bugs.ruby-lang.org/issues/12854#change-60956 * Author: Ryan Davis * Status: Feedback * Priority: Normal * Assignee: * ruby -v: * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- ~~~ ruby class ChainedProc < Proc end ChainedProc.new { |x, y, z| 42 }.curry.class # => Proc ~~~ -- https://bugs.ruby-lang.org/ Unsubscribe: