1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/zokrates_cli/examples/book/function_declaration.zok
2021-04-01 15:36:34 +02:00

5 lines
No EOL
95 B
Text

def foo(field a, field b) -> field:
return a + b
def main() -> field:
return foo(1, 2)