Rename functions to be more idiomatic.
This commit is contained in:
@@ -22,7 +22,7 @@ let instrs_of_string s =
|
||||
List.rev (impl [] 0)
|
||||
|
||||
let instrs_of_file fname =
|
||||
Aoc.strings_from_file fname |> List.map instrs_of_string |> List.concat
|
||||
Aoc.strings_of_file fname |> List.map instrs_of_string |> List.concat
|
||||
|
||||
(** [mac_opt acc a b] returns [acc + a' * b'] if [a = Some a'] and
|
||||
[b = Some b']. If either [a] or [b] are [None] then the result is [acc]. *)
|
||||
|
Reference in New Issue
Block a user