[#78633] ruby/spec needs help from CRuby committers — Benoit Daloze <eregontp@...>
Currently, ruby/spec is maintained mostly by individuals and enjoys the
13 messages
2016/12/13
[#78963] Re: ruby/spec needs help from CRuby committers
— Urabe Shyouhei <shyouhei@...>
2017/01/04
I did ask attendees of last developer meeting to join this
[#78642] Re: ruby/spec needs help from CRuby committers
— Eric Wong <normalperson@...>
2016/12/14
Benoit Daloze <eregontp@gmail.com> wrote:
[ruby-core:78782] [Ruby trunk Feature#12854] Proc#curry should return an instance of the class, not Proc
From:
shyouhei@...
Date:
2016-12-21 14:37:30 UTC
List:
ruby-core #78782
Issue #12854 has been updated by Shyouhei Urabe.
We briefly looked at this issue at today's developer meeting.
Practically, it is possible to change what #curry returns. But attendees were not sure if such change skew the conceptual nature of currying operation.
----------------------------------------
Feature #12854: Proc#curry should return an instance of the class, not Proc
https://bugs.ruby-lang.org/issues/12854#change-62186
* Author: Ryan Davis
* Status: Feedback
* Priority: Normal
* Assignee:
* Target version:
----------------------------------------
~~~ ruby
class ChainedProc < Proc
end
ChainedProc.new { |x, y, z| 42 }.curry.class # => Proc
~~~
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>