5 match (try Some
(open_in
Sys.argv
.(1)) with _
-> None
) with
10 match (try Some
(input_line ic
) with _
-> None
) with
11 | Some line
-> fold (line
:: accu
)
12 | None
-> List.rev accu
23 printf
"let keys = [\n";
24 List.iter
(fun l
-> printf
" %S;\n" l
) lines;