[#60404] is RB_GC_GUARD needed in rb_io_syswrite? — Eric Wong <normalperson@...>
I haven't gotten it to crash as-is, but it seems like we need to
4 messages
2014/02/01
[#60682] volatile usages — Eric Wong <normalperson@...>
Hi all, I went ahead and removed some use of volatile which were once
5 messages
2014/02/13
[#60794] [RFC] rearrange+pack vtm and time_object structs — Eric Wong <normalperson@...>
Extracted from addendum on top of Feature #9362 (cache-aligned objects).
4 messages
2014/02/16
[#61139] [ruby-trunk - Feature #9577] [Open] [PATCH] benchmark/driver.rb: align columns in text output — normalperson@...
Issue #9577 has been reported by Eric Wong.
3 messages
2014/02/28
[ruby-core:60953] [ruby-trunk - Feature #9548] [Open] Module curry
From:
boris@...
Date:
2014-02-21 19:48:10 UTC
List:
ruby-core #60953
Issue #9548 has been reported by Boris Stitnicky.
----------------------------------------
Feature #9548: Module curry
https://bugs.ruby-lang.org/issues/9548
* Author: Boris Stitnicky
* Status: Open
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
I would like to beg for either `Module#curry` method with syntax
```ruby
module Foo
curry( :sym2, :sym1, 0 => 42, 1 => 43, 3 => 44, foo: "bar" )
end
```
or `curry` directive similar to the existing `alias` directive
```ruby
module Foo
curry sym2 sym1( 42, 43, *, 44, foo: "bar )
end
```
Example usage:
```ruby
module MyMath
def power a, b
a ** b
end
curry square power( *, 2 )
curry square_root power( *, 0.5 )
curry cube( *, 3 )
curry pow2 power( 2, * )
curry pow_e power( Math::E, * )
curry pow10 power( 10, * )
end
```
--
http://bugs.ruby-lang.org/