mirror of
https://github.com/nushell/nushell.git
synced 2025-01-12 17:28:13 +01:00
eca9f461da
# Description This PR makes `append`/`prepend` more consistent, in particular, it allows you to work with ranges. Previously, you couldn't append a list by range: ```nu > 0..1 | append 2..4 ╭──────╮ │ 0 │ │ 1 │ │ 2..4 │ ╰──────╯ ``` Now it works: ```nu > 0..1 | append 2..4 ╭───╮ │ 0 │ │ 1 │ │ 2 │ │ 3 │ │ 4 │ ╰───╯ ``` # User-Facing Changes If someone needs the old behavior, then it can be obtained like this: ```nu > 0..1 | append [2..4] ╭──────╮ │ 0 │ │ 1 │ │ 2..4 │ ╰──────╯ ``` |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE |