Matthew Gretton-Dann 38d0781c7e Reimplement 2024 day 6 to use a set.
This seems "better" from a functional perspective.  However, it runs
substantially slower for part 2.
2024-12-06 16:26:32 +00:00
2024-12-01 20:23:18 +00:00
2024-12-06 16:26:32 +00:00
2024-12-06 15:42:18 +00:00
2024-12-03 16:32:26 +00:00
2024-12-06 15:42:18 +00:00
2024-12-01 09:12:40 +00:00
2024-12-03 16:37:47 +00:00

Advent of Code Implementations

Solutions to Advent of code problems written in OCaml

Copyright 2024, Matthew Gretton-Dann.

Licensed under the Apache 2.0 license.

Build instructions

  1. Install ocaml
  2. Clone repository: git clone https://gitea.gretton-dann.synology.me/mgrettondann/ocaml-aoc.git
  3. Enter directory: cd ocaml-acc
  4. Set up switch: opam switch create .
  5. Build with dune: dune build

Executing tests

Tests are named as bin/dayYYNN.exe, where YY is the last two digits of the year, and NN is the day. For example bin/day2401.exe is the executable for 2024 day 1. All tests take a command line option containing the file name of puzzle input.

Description
Advent of Code in OCAML
Readme 289 KiB
Languages
OCaml 99%
Dune 1%