mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-03-31 07:31:09 +00:00
13 lines
262 B
Plaintext
13 lines
262 B
Plaintext
data Prod:
|
|
value: string
|
|
|
|
service OpHa("op"):
|
|
array(a: string, b: string) -> []string
|
|
identity(a: string) -> string
|
|
|
|
func doSmth(arg: Prod) -> []string:
|
|
v = arg.value
|
|
a <- OpHa.identity(v)
|
|
b = "hello"
|
|
res <- OpHa.array(a, b)
|
|
<- res |