1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

rename and improve example

This commit is contained in:
schaeff 2021-04-20 12:39:41 +02:00
parent 7b452db760
commit aa5a3b4b32

View file

@ -2,4 +2,5 @@ def foo<N>() -> field[N]:
return [42; N]
def main() -> field[2]:
return foo::<2>()
field a = foo::<3>()[0]
return foo::<2>()