mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-09-11 05:45:30 +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]
|