mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-23 18:21:38 +03:00
10 lines
205 B
Plaintext
10 lines
205 B
Plaintext
struct Foo {
|
|
bool x
|
|
}
|
|
def main() -> (field):
|
|
field[3] a = [1, 2, 3] // initialize the array
|
|
field[4] b = [42; 4]
|
|
c = a[1..3] // helloo???
|
|
bool[3] d = [true, false, true]
|
|
return a[0]
|