1
0

Simplify/refactor day 1 code

This commit is contained in:
2023-01-11 13:35:10 +01:00
parent bf692a17db
commit 8a12f5aac1
2 changed files with 9 additions and 11 deletions
+6
View File
@@ -0,0 +1,6 @@
let read_file filename =
let ch = open_in filename in
let s = really_input_string ch (in_channel_length ch) in
close_in ch;
s
;;