removed useless imports

This commit is contained in:
2024-12-12 01:25:44 +01:00
parent 14f445011c
commit 2ca07cc93c
10 changed files with 9 additions and 20 deletions

View File

@@ -1,5 +1,4 @@
open Printf;;
open String;;
let rec build_list in_file =
try
@@ -15,7 +14,7 @@ let is_not_empty lst =
| _ -> true
let rec parse_list (l1, l2) str =
let list1 = (List.filter (fun a -> length a != 0) (String.split_on_char ' ' str)) in
let list1 = (List.filter (fun a -> String.length a != 0) (String.split_on_char ' ' str)) in
let list_of_int = List.map int_of_string list1 in
match list_of_int with
| e1 :: e2 :: _ -> (e1 :: l1, e2 :: l2)