1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/zokrates_cli/examples/book/function_declaration.zok
2022-04-06 20:23:58 +02:00

7 lines
104 B
Text

def foo(field a, field b) -> field {
return a + b;
}
def main() -> field {
return foo(1, 2);
}