GNOME Bugzilla – Bug 661132
Enhanced Slicing Syntax
Last modified: 2018-05-22 14:11:06 UTC
I wish vala can support below slicing operations. array[begin:] => array[begin: array.length] array[:end] => array[0:end] array[:] => array[0:array.length]
Created attachment 212311 [details] [review] Support more slice expressions
I would love to get this syntax supported in Vala. For consistency, it needs to work with string as well though. In order to get a 1.0, I think we should postpone all – even tiny – syntax changes though, hence let's discuss this for 1.2. (We need to come up with a sane way for enhancement proposals post 1.0 anyways, but that's probably a discussion for the mailing list).
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/238.