diff options
| author | Andreas Grois <andi@grois.info> | 2024-09-24 21:11:02 +0200 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2024-09-24 21:11:02 +0200 |
| commit | 5b854b81590f711cbaa0d825bbbddd366fbfbf6a (patch) | |
| tree | e2a1883684a908afcfbf86395fea89ad2ac3a933 /Main.lean | |
| parent | b1c7ab96169f80f62c8f5025cf2ebd74e9128f71 (diff) | |
Day 12 Part 2
Diffstat (limited to 'Main.lean')
| -rw-r--r-- | Main.lean | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -46,6 +46,7 @@ def try_run_day_part (day : Days) (part : Parts) (data : String) : IO String := | ⟨11,_⟩, Parts.One => try_run_day_part_impl ⟨11,_⟩ Parts.One data | ⟨11,_⟩, Parts.Two => try_run_day_part_impl ⟨11,_⟩ Parts.Two data | ⟨12,_⟩, Parts.One => try_run_day_part_impl ⟨12,_⟩ Parts.One data + | ⟨12,_⟩, Parts.Two => try_run_day_part_impl ⟨12,_⟩ 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 |
