From: ryand-ruby@... Date: 2016-10-20T05:44:03+00:00 Subject: [ruby-core:77677] [Ruby trunk Feature#12854] Proc#curry should return an instance of the class, not Proc Issue #12854 has been updated by Ryan Davis. ~~~ ruby class ChainedProc < Proc # ... this stuff here is the use-case end ~~~ ---------------------------------------- Feature #12854: Proc#curry should return an instance of the class, not Proc https://bugs.ruby-lang.org/issues/12854#change-60960 * Author: Ryan Davis * Status: Feedback * Priority: Normal * Assignee: ---------------------------------------- ~~~ ruby class ChainedProc < Proc end ChainedProc.new { |x, y, z| 42 }.curry.class # => Proc ~~~ -- https://bugs.ruby-lang.org/ Unsubscribe: