When `io unit` is used, we use `return 0` for `result.ok`, and `return 1` for `result.except`.
4 lines
156 B
Text
4 lines
156 B
Text
def main (xs : list string) : io unit :=
|
|
let ys1 := list.repeat 1 1000000 in
|
|
let ys2 := list.repeat 2 1000000 in
|
|
io.println (to_string (ys1 ++ ys2).length)
|