summaryrefslogtreecommitdiff
path: root/2025/ocaml/lib/domain
AgeCommit message (Collapse)Author
2025-12-13feat(2025d3): copy part 1 over to part 2DJ O'Leary
2025-12-13fix(2025d3): fix bug in logicDJ O'Leary
Changelog: - pattern match on list with one element instead of checking is_end variable - pattern match on c_gt_? variables instead of using if statements to ensure all possiblities are covered - reuse swap_if_higher when we have (Some _, None) instead of inserting to second slot, as this was screwing with the promotion logic
2025-12-13chore(2025d3): reword failwith messageDJ O'Leary
2025-12-12test(matrix): update expect test after updating pp functionDJ O'Leary
2025-12-11refactor(matrix): add to_list and make pp prettierDJ O'Leary
2025-12-08feat(range): implement range module for parsing ranges in the format "%d-%d"DJ O'Leary
2025-12-08feat(2025d4): solve part 1DJ O'Leary
solution: 1320
2025-12-07refactor(matrix): convert matrix into domain moduleDJ O'Leary
2025-12-07feat(2025d4p1): add code to convert input into a matrix and pp the matrixDJ O'Leary
2025-12-06feat(2025d3p1): partial solution, getting the wrong answerDJ O'Leary
Manually did entire real input and codified into tests but even sum of manual answer is wrong. Code fails for some lines of real input and these failing lines have been reduced into regression tests. work-in-progress: true
2025-12-04feat(2025d3p1): create skeletonDJ O'Leary
2025-12-04feat(2025d2p2): solve 2025 day 2 part 2DJ O'Leary
2025-12-03feat(2025d2p2): remove existing rules and make validation rules OR instead ↵DJ O'Leary
of AND
2025-12-03feat(2025d2p2): copy part 1 solution as part 2 for editingDJ O'Leary
2025-12-03feat(2025d2p1): solve day 2 part 1DJ O'Leary
2025-12-02feat(2025d1p2): implement solution to problemDJ O'Leary
2025-12-01refactor(2025d1p1): rename files to order correctly and include part numberDJ O'Leary
2025-12-01feat(2025d1p1): implement Dial moduleDJ O'Leary
2025-12-01refactor: setup Log package in mainDJ O'Leary
2025-12-01refactor: remove own logger implementation and use logsDJ O'Leary
2025-11-29feat(dune): add inline_tests to dune filesDJ O'Leary
2025-11-29chore: use updated templateDJ O'Leary