mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 00:13:21 +01:00
3e14dc3eb8
# Description The pythonism that multiplying a scalar integer with a list results in a repeated concatenation of the list, is ambiguous with other possible interpretations and thus actively harmful to clear semantics in nushell. Another possible reading of this scalar/vector product would be trying to perform elementwise multiplication with the scalar. Before we bless this alternative as a more reasonable design the best course of action is to remove this pythonism. Work related to #10233 # User-Facing Changes Breaking change as this turns `int * list` or `list * int` into hard errors. # Tests + Formatting Remove the associated test |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE | ||
README.md |
nu-protocol
The nu-protocol crate holds the definitions of structs/traits that are used throughout Nushell. This gives us one way to expose them to many other crates, as well as make these definitions available to each other, without causing mutually recursive dependencies.