[#69084] [Ruby trunk - Feature #11124] [Open] [PATCH] lib/*: use monotonic clock for timeouts — normalperson@...
Issue #11124 has been reported by Eric Wong.
5 messages
2015/05/06
[#69138] [Ruby trunk - Feature #11136] [PATCH] webrick: avoid fcntl module — nobu@...
Issue #11136 has been updated by Nobuyoshi Nakada.
3 messages
2015/05/12
[#69160] [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start — nobu@...
Issue #11146 has been updated by Nobuyoshi Nakada.
4 messages
2015/05/13
[#69175] Re: [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start
— Eric Wong <normalperson@...>
2015/05/13
nobu@ruby-lang.org wrote:
[ruby-core:69232] [Ruby trunk - Feature #11161] [Open] Proc/Method#rcurry working like curry but in reverse order
From:
hanmac@...
Date:
2015-05-19 12:41:23 UTC
List:
ruby-core #69232
Issue #11161 has been reported by Hans Mackowiak.
----------------------------------------
Feature #11161: Proc/Method#rcurry working like curry but in reverse order
https://bugs.ruby-lang.org/issues/11161
* Author: Hans Mackowiak
* Status: Open
* Priority: Low
* Assignee:
----------------------------------------
currenty with curry you can only replace elements in order
#rcurry should be added to be able to return the last parameter first.
`
def abc(a,b); "a=#{a}, b=#{b}"; end
c= method(:abc).curry
c[1,2] #=> "a=1, b=2"
c[1][2] #=> "a=1, b=2"
`
i image rcurry to be like that:
`
def abc(a,b); "a=#{a}, b=#{b}"; end
c= method(:abc).rcurry(2)
c[1,2] #=> "a=2, b=1"
c[1][2] #=> "a=2, b=1"
`
because of optional parameters, rcurry might be only be used when giving the arity
--
https://bugs.ruby-lang.org/