1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

update book, add changelog

This commit is contained in:
dark64 2021-04-12 18:56:22 +02:00
parent 61833d70c4
commit 8b050d8c44
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1 @@
Add ability to import multiple symbols in a single import statement

View file

@ -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: