nushell/crates
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
..
nu_plugin_binaryview updated dependencies (#2517) 2020-09-09 10:35:45 +12:00
nu_plugin_fetch updated dependencies (#2517) 2020-09-09 10:35:45 +12:00
nu_plugin_from_bson updated dependencies (#2517) 2020-09-09 10:35:45 +12:00
nu_plugin_from_sqlite Bump to 0.19.0 (#2483) 2020-09-02 15:37:06 +12:00
nu_plugin_inc Bump to 0.19.0 (#2483) 2020-09-02 15:37:06 +12:00
nu_plugin_match remove unused dependencies (#2520) 2020-09-09 13:57:51 -05:00
nu_plugin_post updated dependencies (#2517) 2020-09-09 10:35:45 +12:00
nu_plugin_ps updated dependencies (#2517) 2020-09-09 10:35:45 +12:00
nu_plugin_s3 updated dependencies (#2517) 2020-09-09 10:35:45 +12:00
nu_plugin_start Bump to 0.19.0 (#2483) 2020-09-02 15:37:06 +12:00
nu_plugin_sys updated dependencies (#2517) 2020-09-09 10:35:45 +12:00
nu_plugin_textview updated dependencies (#2517) 2020-09-09 10:35:45 +12:00
nu_plugin_to_bson Bump to 0.19.0 (#2483) 2020-09-02 15:37:06 +12:00
nu_plugin_to_sqlite Bump to 0.19.0 (#2483) 2020-09-02 15:37:06 +12:00
nu_plugin_tree updated dependencies (#2517) 2020-09-09 10:35:45 +12:00
nu-cli Implement exclusive and inclusive ranges with ..< and .. (#2541) 2020-09-14 09:53:08 +12:00
nu-data Implement exclusive and inclusive ranges with ..< and .. (#2541) 2020-09-14 09:53:08 +12:00
nu-errors updated dependencies (#2517) 2020-09-09 10:35:45 +12:00
nu-parser Implement exclusive and inclusive ranges with ..< and .. (#2541) 2020-09-14 09:53:08 +12:00
nu-plugin updated dependencies (#2517) 2020-09-09 10:35:45 +12:00
nu-protocol Implement exclusive and inclusive ranges with ..< and .. (#2541) 2020-09-14 09:53:08 +12:00
nu-source remove unused dependencies (#2520) 2020-09-09 13:57:51 -05:00
nu-table updated dependencies (#2517) 2020-09-09 10:35:45 +12:00
nu-test-support remove unused dependencies (#2520) 2020-09-09 13:57:51 -05:00
nu-value-ext remove unused dependencies (#2520) 2020-09-09 13:57:51 -05:00