Skip to content

Commit 95174f3

Browse files
Update contents/huffman_encoding/code/ocaml/huffman.ml
Co-authored-by: Dimitri Belopopsky <ShadowMitia@users.noreply.github.com>
1 parent fdca8d7 commit 95174f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contents/huffman_encoding/code/ocaml/huffman.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ let huffman huffman_tree = prefixes_of_tree "" huffman_tree
8585
let char_to_str = Printf.sprintf "%c"
8686

8787
let str_list msg =
88-
List.map char_to_str @@ str_to_charlist msg
88+
List.map char_to_str (str_to_charlist msg)
8989

9090
let list_to_string lst =
9191
String.concat "" lst

0 commit comments

Comments
 (0)