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

Mention foo.bar = syntax for attrsets #14

Closed
tejing1 opened this issue Aug 21, 2022 · 1 comment
Closed

Mention foo.bar = syntax for attrsets #14

tejing1 opened this issue Aug 21, 2022 · 1 comment

Comments

@tejing1
Copy link

tejing1 commented Aug 21, 2022

https://book.divnix.com/ch05-01-language-basics.html#attribute-set-attr-set should probably mention that you can set keys in nested attrsets with foo.bar = , and that you can set multiple keys under the same top-level key with multiple lines, not necessarily grouped together:

{
  foo.bar = 1;
  quux = 2;
  foo.baz = 3;
}

The fact that this also works for lets... we can probably skip. :-P

@jonringer
Copy link
Collaborator

oh yea, how did I forget this... lol

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

No branches or pull requests

2 participants