Skip to content

Use a record instead of a list to clarify arguments in Programming in Nu#Operators examples. #2004

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 5, 2025

Conversation

AlOwain
Copy link
Contributor

@AlOwain AlOwain commented Aug 5, 2025

In Programming in Nu#Operators:262 inferring the arguments from the list position could introduce some misunderstanding.

This PR is a result of my own misunderstanding (see issue #2003) in how a list was spread. I recognize that my misunderstanding was not a result of a lack of clarity, but that I simply did not understand how it operated, and had not properly scrutinized the following examples.

However, I do believe that this makes things clearer, at the risk of being needlessly tedious. This is left for your consideration.

In Programming in Nu#Operators:262 inferring the arguments from the
list position could introduce some misunderstanding.
Copy link
Member

@ysthakur ysthakur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the quick PR

@ysthakur ysthakur merged commit 2015c43 into nushell:main Aug 5, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants