[#86520] [Ruby trunk Bug#14681] `syswrite': stream closed in another thread (IOError) — samuel@...
Issue #14681 has been reported by ioquatix (Samuel Williams).
3 messages
2018/04/12
[#86755] [Ruby trunk Feature#14723] [WIP] sleepy GC — normalperson@...
Issue #14723 has been reported by normalperson (Eric Wong).
6 messages
2018/04/29
[ruby-core:86588] [CommonRuby Feature#14697] Introducing Range#% as an alias to Range#step
From:
muraken@...
Date:
2018-04-19 06:31:32 UTC
List:
ruby-core #86588
Issue #14697 has been reported by mrkn (Kenta Murata). ---------------------------------------- Feature #14697: Introducing Range#% as an alias to Range#step https://bugs.ruby-lang.org/issues/14697 * Author: mrkn (Kenta Murata) * Status: Open * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Target version: ---------------------------------------- In #13904, `Enumerator::ArithmeticSequence` has been accepted for the representation of a range with step value. And in #12912, a new syntax of endless range `(1..)` has been accepted. Combining these new features, we can write an endless step range like `(1..).step(2)` in Ruby 2.6. It can be used for array slicing like python's `1::2`. If `Range#%` is introduced as an alias to `Range#step`, we can write a step range like `(1..)%2`. This notation is already introduced numo-narray. -- 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>