Skip to content
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

Update/refresh examples using latest Nickel idioms #1849

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Conversation

yannham
Copy link
Member

@yannham yannham commented Mar 12, 2024

The initial motivation for this small PR was to fix an inconsistency between examples and the user manual: the "Warning = vs |" paragraph advises to use | as much as possible, but the record-contract example uses = inside contracts.

Doing so, I also took a tour of the existing examples to update them to use latest niceties whenever it made the code simple/more idiomatic/more readable (at least IMHO, but please challenge it if you don't think alike!)

@yannham yannham requested review from jneem and vkleen March 12, 2024 11:44
@github-actions github-actions bot temporarily deployed to pull request March 12, 2024 11:48 Inactive
@yannham yannham added this pull request to the merge queue Mar 12, 2024
Merged via the queue into master with commit 5db844d Mar 12, 2024
5 checks passed
@yannham yannham deleted the examples/refresh branch March 12, 2024 14:36
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