« * K @p4bl0.net

🏴‍☠️ MC Pablo ∴ @p4bl0.net

2026-12-01 14:44 UTC

🎄 #AdventOfCode day 1 I like using ocamllex to read the input but here it was really useless because the parsing is trivial so I made a pure #OCaml version :

1 picture (not shown on this phone): let sorted = In_channel.input_lines stdin |> List.map int_of_string |> List.sort compare |> List.fold_left (fun acc id …

A reply in a thread.

2 likes, 0 reposts, 0 replies

3 Next post4 More from @p4bl0.netBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup