1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
ZoKrates/zokrates_cli/examples/functions/functions.zok
2020-04-09 16:24:21 +02:00

6 lines
122 B
Text

def add(field f,field g) -> (field):
return f+g
def main(field a, field b) -> (field):
field c = add(a,b)
return c