Converted 2st of December into using batteries as well.
This commit is contained in:
parent
f8b5ad80c9
commit
1811fa4654
3
dec2.ml
3
dec2.ml
|
@ -17,7 +17,6 @@
|
||||||
(*difference is 4.*)
|
(*difference is 4.*)
|
||||||
(*The third row's difference is 6.*)
|
(*The third row's difference is 6.*)
|
||||||
|
|
||||||
open Core
|
|
||||||
open Batteries
|
open Batteries
|
||||||
|
|
||||||
let open_file (filename : string) =
|
let open_file (filename : string) =
|
||||||
|
@ -43,4 +42,4 @@ let () =
|
||||||
"dec2_input"
|
"dec2_input"
|
||||||
|> open_file
|
|> open_file
|
||||||
|> parse_input
|
|> parse_input
|
||||||
|> printf "%d"
|
|> print_int
|
||||||
|
|
Loading…
Reference in a new issue