[#83107] Alias Enumerable#include? to Enumerable#includes? — Alberto Almagro <albertoalmagro@...>

Hello,

9 messages 2017/10/04

[ruby-core:83567] [Ruby trunk Feature#12854] Proc#curry should return an instance of the class, not Proc

From: dsisnero@...
Date: 2017-10-25 21:59:26 UTC
List: ruby-core #83567
Issue #12854 has been updated by dsisnero (Dominic Sisneros).


don't use lens as the name because this is a common used name in functional programming for a different concept

----------------------------------------
Feature #12854: Proc#curry should return an instance of the class, not Proc
https://bugs.ruby-lang.org/issues/12854#change-67593

* Author: zenspider (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>

In This Thread

Prev Next