mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 22:50:18 +00:00
14 lines
203 B
Plaintext
14 lines
203 B
Plaintext
aqua StreamMapTest declares *
|
|
|
|
export main
|
|
|
|
func foo() -> %string, u64:
|
|
map: %string
|
|
<- map, 42
|
|
|
|
func get() -> string, string:
|
|
<- "123", "44"
|
|
|
|
func main() -> string:
|
|
m <- foo()
|
|
<- m.get("key")! |