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

Changes to Shorthands #970

Merged
merged 32 commits into from
Jul 11, 2021
Merged

Changes to Shorthands #970

merged 32 commits into from
Jul 11, 2021

Conversation

Anton-Latukha
Copy link
Collaborator

@Anton-Latukha Anton-Latukha commented Jul 9, 2021

Walked into the Shorthands module.

Main things: https://github.com/haskell-nix/hnix/blob/2021-07-09-changes/ChangeLog.md

  • fixed mkAssert
  • refactored ParserTests.
  • Added @.<|> operator that represents (previously unrepresentable by shorthands) feature of a language: s.x or y.
  • Established precedence between shorthand operators. This allows to write down the Haskell (pretty) directly to represent a one-to-one a Nix expression.

@Anton-Latukha Anton-Latukha merged commit 2183d00 into master Jul 11, 2021
@Anton-Latukha Anton-Latukha deleted the 2021-07-09-changes branch July 11, 2021 20:51
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.

1 participant