Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
patricoferris committed Mar 29, 2024
1 parent 138176c commit 41939ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ocamlformat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=0.24.1
version=0.26.1
5 changes: 3 additions & 2 deletions test/prelude.ml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
let read_file path =
let rec loop ic acc = match input_line ic with
let rec loop ic acc =
match input_line ic with
| line -> loop ic (line :: acc)
| exception End_of_file -> List.rev acc
in
let ic = open_in path in
Fun.protect ~finally:(fun () -> close_in ic) (fun () -> loop ic [])
|> String.concat "\n"
|> String.concat "\n"

0 comments on commit 41939ee

Please sign in to comment.