update book, add changelog
This commit is contained in:
parent
61833d70c4
commit
8b050d8c44
2 changed files with 7 additions and 0 deletions
1
changelogs/unreleased/809-dark64
Normal file
1
changelogs/unreleased/809-dark64
Normal file
|
@ -0,0 +1 @@
|
|||
Add ability to import multiple symbols in a single import statement
|
|
@ -13,6 +13,12 @@ from "./path/to/my/module" import MySymbol
|
|||
// `MySymbol` is now in scope.
|
||||
```
|
||||
|
||||
To import multiple modules with a single import statement, separate the module names with commas:
|
||||
|
||||
```zokrates
|
||||
from "./path/to/my/module" import MySymbol, MyOtherSymbol
|
||||
```
|
||||
|
||||
#### Aliasing
|
||||
|
||||
The `as` keyword enables renaming symbols:
|
||||
|
|
Loading…
Reference in a new issue