nushell/crates/nu-protocol/src/value
Radek Vít 599bb9797d
Implement exclusive and inclusive ranges with ..< and .. (#2541)
* Implement exclusive and inclusive ranges with .. and ..=

This commit adds right-exclusive ranges.

The original a..b inclusive syntax was changed to reflect the Rust notation.
New a..=b syntax was introduced to have the old behavior.

Currently, both a.. and b..= is valid, and it is unclear whether it's valid
to impose restrictions.

The original issue suggests .. for inclusive and ..< for exclusive ranges,
this can be implemented by making simple changes to this commit.

* Fix collect tests by changing ranges to ..=

* Fix clippy lints in exclusive range matching

* Implement exclusive ranges using `..<`
2020-09-14 09:53:08 +12:00
..
column_path.rs Add "move column" command. (#2123) 2020-07-06 10:27:01 -05:00
convert.rs Add some comments (#1225) 2020-01-14 20:38:56 +13:00
debug.rs Rename 'bytes' to 'filesize' (#2153) 2020-07-11 14:17:37 +12:00
dict.rs Add column flag to count command 2020-08-15 07:52:59 -05:00
evaluate.rs Fix warnings and split Scope (#1902) 2020-05-27 16:50:26 +12:00
iter.rs Rows and values can be checked for emptiness. Allows to set a value if desired. (#1665) 2020-04-26 12:30:52 -05:00
primitive.rs Implement exclusive and inclusive ranges with ..< and .. (#2541) 2020-09-14 09:53:08 +12:00
range.rs Add more comments (#1228) 2020-01-16 05:28:31 +13:00
serde_bigdecimal.rs Add more comments (#1228) 2020-01-16 05:28:31 +13:00
serde_bigint.rs Add more comments (#1228) 2020-01-16 05:28:31 +13:00