diff options
| author | Andreas Grois <andi@grois.info> | 2024-09-16 17:15:05 +0200 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2024-09-16 17:15:05 +0200 |
| commit | 5be91b845f4cdb5b6df0a31ed525f746a6038a2c (patch) | |
| tree | 5a74d797e639ef9841e1e3e41d3c9c17b78dc397 /Main.lean | |
| parent | 17721b8aa7a5b78a80b6d622f90e3c1827bd4676 (diff) | |
Day 10, Part 2
Diffstat (limited to 'Main.lean')
| -rw-r--r-- | Main.lean | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -40,6 +40,7 @@ def try_run_day_part (day : Days) (part : Parts) (data : String) : IO String := | ⟨9,_⟩, Parts.One => try_run_day_part_impl ⟨9,_⟩ Parts.One data | ⟨9,_⟩, Parts.Two => try_run_day_part_impl ⟨9,_⟩ Parts.Two data | ⟨10,_⟩, Parts.One => try_run_day_part_impl ⟨10,_⟩ Parts.One data + | ⟨10,_⟩, Parts.Two => try_run_day_part_impl ⟨10,_⟩ Parts.Two data | _, _ => throw $ IO.userError "The requested combination of day/part has not been implemented yet." def main (parameters : List String): IO Unit := do |
