shan (Shannon Skipper)
- Login: shan
- Registered on: 12/23/2012
- Last sign in: 03/18/2024
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 3 | 6 | 9 |
Activity
03/07/2024
- 08:12 PM Ruby master Feature #20326: Add an `undefined` for use as a default argument.
- zverok (Victor Shepelev) wrote in #note-6:
> Unfortunately, such APIs are sometimes unavoidable, especially in imple... - 06:03 PM Ruby master Bug #20325: Enumerator.product.size bug with zero * infinite enumerators
- It seems like an infinite size with a `0` always has a product count of `0`. An infinite size preceding a `nil` has e...
- 05:39 PM Ruby master Bug #20325: Enumerator.product.size bug with zero * infinite enumerators
- I agree the behavior aligns with the documentation and tests. On the other hand, there seem to be two scenarios where...
03/06/2024
- 05:32 PM Ruby master Feature #20326 (Feedback): Add an `undefined` for use as a default argument.
- Variations around `UNDEFINED = Object.new` are a fairly common pattern to see used as default arguments to distinguis...
02/15/2024
- 11:05 PM Ruby master Feature #20266: New syntax to escape embed strings in Regexp literal
- I wonder if `#{^foo}` might be a passable alternative for `#{=foo}` since "pinning" *almost* makes sense and and upti...
02/04/2024
- 06:11 PM Ruby master Feature #20235: Deprecate CHAR syntax
- Dan0042 (Daniel DeLorme) wrote in #note-3:
> @shan it's not "an uncommented `=>` designating a return value", it's (...
02/03/2024
- 10:42 PM Ruby master Feature #20235: Deprecate CHAR syntax
- A `$stdin.closed?#=>true` would work as expected. You can't generally follow Ruby code immediately with an uncommente...
01/29/2024
- 11:59 PM Ruby master Feature #20196: Proposal: Binary data literal
- For what it's worth, there's a shorthand String#b.
``` ruby
"\xAB\xCD\xEF\x12\x34\x56".b
#=> => "\xAB\xCD\xEF\x1...
12/22/2023
- 06:49 PM Ruby master Feature #20080: Introduce #bounds method on Range
- An aside, but with Enumerator::ArithmeticSequence, `last` give you the value excluding end but not so with Range.
...
12/18/2023
- 07:00 PM Ruby master Feature #20069: Buffer class in stdlib
- pynix (Pynix wang) wrote:
> ruby use `String` to deal with bytes, this cause error on irb "invalid byte sequence in...
Also available in: Atom