diff options
| author | Andreas Grois <andi@grois.info> | 2024-12-01 19:40:33 +0100 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2024-12-01 19:40:33 +0100 |
| commit | 0a038cd8f528a9ff92daddaa5bc4b432f4fbdc7c (patch) | |
| tree | 0562adc756e9c5c5a9682f3c40e59c4c6d4b4083 /Main.lean | |
| parent | 3e9ab8b679faa68bf41addedae1ec0f963ee466a (diff) | |
Day 15, Part 2
Diffstat (limited to 'Main.lean')
| -rw-r--r-- | Main.lean | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -55,6 +55,7 @@ def try_run_day_part (day : Days) (part : Parts) (data : String) : IO String := | ⟨14,_⟩, Parts.One => try_run_day_part_impl ⟨14,_⟩ Parts.One data | ⟨14,_⟩, Parts.Two => try_run_day_part_impl ⟨14,_⟩ Parts.Two data | ⟨15,_⟩, Parts.One => try_run_day_part_impl ⟨15,_⟩ Parts.One data + | ⟨15,_⟩, Parts.Two => try_run_day_part_impl ⟨15,_⟩ 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 |
