aqua/aqua-src/antithesis.aqua

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")!