Advent of Code 2020
Setup
opam switch create . 4.11.1 --deps-only
eval $(opam env)
opam install core re2 dune ocaml-lsp-server merlin ocamlformat utop
Run code
cat 1/input.txt | dune exec 1/main.exe
opam switch create . 4.11.1 --deps-only
eval $(opam env)
opam install core re2 dune ocaml-lsp-server merlin ocamlformat utop
cat 1/input.txt | dune exec 1/main.exe