nushell.github.io icon indicating copy to clipboard operation
nushell.github.io copied to clipboard

Variables and Subexpressions section has outdated information

Open jangler opened this issue 2 years ago • 2 comments

https://www.nushell.sh/book/variables_and_subexpressions.html

There are two types of evaluation expressions in Nushell: variables and subexpressions. You know that you're looking at an evaluation expression because it begins with a dollar sign ($). This indicates that when Nushell gets the value in this position, it will need to run an evaluation step to process the expression and then use the resulting value. Both evaluation expression forms support a simple form and a 'path' form for working with more complex data.

Only variables begin with $, subexpressions dropped the $ in version 0.32, according to this page.

jangler avatar Feb 24 '23 15:02 jangler

Docs probably need to be updated. It's a constant fight to keep them current.

fdncred avatar Feb 24 '23 15:02 fdncred

The "variables and subexpressions" page no longer exists. The Variables page does not mention subexpressions. I don't see a specific page about subepxressions. Operators does not list it as a described operator, but lists it in the order anyway.

It seems to me this ticket can safely be closed without further action.

Kissaki avatar May 29 '24 21:05 Kissaki

Agree with @Kissaki - This can be closed.

NotTheDr01ds avatar Aug 08 '24 17:08 NotTheDr01ds