[#77789] [Ruby trunk Feature#12012] Add Boolean method — prodis@...
Issue #12012 has been updated by Fernando Hamasaki de Amorim.
4 messages
2016/10/27
[ruby-core:77677] [Ruby trunk Feature#12854] Proc#curry should return an instance of the class, not Proc
From:
ryand-ruby@...
Date:
2016-10-20 05:44:03 UTC
List:
ruby-core #77677
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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>