nushell / nushell.github.io

Nushell's main website, blog, book, and more
https://www.nushell.sh/book/
MIT License
169 stars 416 forks source link

The `not` operator was missing in the list of the order of operations. #1355

Closed maxim-uvarov closed 5 months ago

maxim-uvarov commented 5 months ago

I tried to find its position experimentally (with the help of GPT-4), and it suggested the next test. So I placed the not before and.

> not true and false
false
> not (true and false)
true

I would be glad if anybody could check my conclusions.

fdncred commented 5 months ago

Thanks