John Woods

  • Email:
  • Registered on: 10/24/2013
  • Last connection: 01/07/2014

Activity

Reported issues: 1

10/26/2013

02:44 PM ruby-trunk Feature #9049: Shorthands (a:b, *) for inclusive indexing
@boris_stitnicky What about ~? x[3~4,1~5], for example. I don't like it as much as colon, but it looks a little more ...

10/24/2013

11:55 PM ruby-trunk Feature #9049: Shorthands (a:b, *) for inclusive indexing
Yes. 1:2 is the same as 1..2; it's inclusive of the begin and end indices. It is not equivalent to 1...2.
I would ...
03:50 PM ruby-trunk Feature #9049: Shorthands (a:b, *) for inclusive indexing
@boris_stitnicky I don't think it matters if it collides. It's simple to convert a key-value pair into a range in C c...
11:56 AM ruby-trunk Feature #9047: Alternate hash key syntax for symbols
@matz Very well, and thank you for the consideration. I opened a new issue on that topic: #9049.
11:54 AM ruby-trunk Feature #9049 (Open): Shorthands (a:b, *) for inclusive indexing
=begin
For NMatrix, we've implemented a range shorthand which relies on Hashes: (({m[1=>3,2=>4]})), for example, whi...
12:54 AM ruby-trunk Feature #9047: Alternate hash key syntax for symbols
This may or may not be related, but we here at NMatrix (part of SciRuby) would love to be able to index ranges in NMa...

Also available in: Atom