Add note about 'rec' in attribute sets
This commit is contained in:
parent
fe3b0d3706
commit
a2610a9b33
1 changed files with 3 additions and 0 deletions
|
@ -96,6 +96,9 @@ second line
|
|||
|
||||
# attribute sets (field access with dot syntax)
|
||||
{ a = 15; b = "something else"; }
|
||||
|
||||
# recursive attribute sets (fields can reference each other)
|
||||
rec { a = 15; b = a * 2; }
|
||||
```
|
||||
|
||||
## Variable bindings
|
||||
|
|
Loading…
Reference in a new issue