From: ryand-ruby@... Date: 2016-10-20T05:45:38+00:00 Subject: [ruby-core:77678] [Ruby trunk Feature#12854] Proc#curry should return an instance of the class, not Proc Issue #12854 has been updated by Ryan Davis. Another (albeit, poor/strange) example: https://gist.github.com/tenderlove/ca673b3ce18460890cfd18e09bb1657c ---------------------------------------- Feature #12854: Proc#curry should return an instance of the class, not Proc https://bugs.ruby-lang.org/issues/12854#change-60961 * 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: