shan (Shannon Skipper)
- Login: shan
- Registered on: 12/23/2012
- Last connection: 02/17/2021
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 1 | 4 | 5 |
Activity
02/17/2021
-
08:44 PM Ruby master Feature #17640: allow // for comments
- Like you mention, `//` is a Regexp literal, so it seems to me this would be a nonstarter since it'd break a ton of co...
12/14/2020
-
08:19 PM Ruby master Feature #16986: Anonymous Struct literal
- A slick syntax like `${a: 0, b: 0}` would encourage many to use it when they otherwise might turn to a Hash literal. ...
10/12/2020
-
04:16 PM Ruby master Bug #17221: Relax the Fiber#transfer's limitation
- It seems like both "a" and "the" work here. I might say, "cannot transfer to a yielding Fiber" or "attempted transfer...
10/06/2020
-
09:06 PM Ruby master Feature #13683: Add strict Enumerable#single
- For Arrays, pattern matching does seem like a fair solution. Wouldn't that not work for other Enumerable collections?...
09/15/2020
-
06:35 AM Ruby master Feature #13683: Add strict Enumerable#single
- How about #sole since it means one and only and is concise?
``` ruby
[].sole
#!> SoleError: empty Array when single ...
05/17/2020
-
06:57 PM Ruby master Feature #16894: Integer division for Ruby 3
- I'd really rather not deal with Floats unless absolutely necessary.
Raku (Perl 6) and Clojure's default division t... -
06:03 PM Ruby master Feature #16898: Modify the syntax of -> lambda expressions in ruby3
- To me, this
``` ruby
-> lightness { lightness }
```
Is prettier than
```ruby
lambda { |lightness| lightne... -
05:54 PM Ruby master Feature #16899: Add method `Array#both_end`
- I think #both_ends reads better in the plural form. Or #first_last harkens to #min_max and is unambiguous. Other opti...
05/07/2020
-
04:33 PM Ruby master Feature #16838: Enumerator::ArithmeticSequence missing allocator for #clone and #dup
- After I filed this, al203-cr on #ruby IRC pointed out this seems intentional since `rb_undef_alloc_func(rb_cArithSeq)...
-
04:12 PM Ruby master Feature #16838 (Open): Enumerator::ArithmeticSequence missing allocator for #clone and #dup
- In Ruby 2.5, with an Enumerator:
``` ruby
1.step.clone
#=> Enumerator
```
In Ruby 2.6, with an Enumerator::A...
Also available in: Atom