-
Notifications
You must be signed in to change notification settings - Fork 95
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
Use let-blocks when apprioriate in stdlib & examples #2051
Conversation
4b35e7f
to
a93c6d9
Compare
Bencher Report
Click to view all benchmark results
|
This is actually also blocked on tweag/topiary#747 to be able to update to latest Topiary in the flake. |
Now that we've got rid of Topiary as an input of the Nickel flake, we need Topiary to be compatible with tree-sitter 0.22 (used by the Nickel grammar) - which is the case, but this version hasn't been released yet. Waiting for a new version of Topiary to be released, so that we can finally format let-blocks. |
(while this PR is by no mean really required for 1.9, its precondition is: update Topiary to latest version once it's on crates.io so that |
a93c6d9
to
ed9bdf2
Compare
This PR updates to Topiary 0.5.1, which includes the support for formatting let-blocks (and the let-in formatting fix). Additionally, I made a pass on the examples and the stdlib to use let-blocks whenever it seemed appropriate, so that both remains idiomatic Nickel.
This is the last item on the checklist before being able to release Nickel 1.9