Sys.argv
char_split s c
s
c
char_split
String.trim
epsilon_float
Option.default def opt_val
def
opt_val
None
Some v
v
ends_with sub s
sub
Loop.fold_left f v n
f
n
List.init n f
0
n-1
Loop.iter f n
Loop.iteri f n
input_line
input_lines
String.nth_is s ofs c
List.find
List.return
starts_with sub s
write_file filename contents