diff options
| author | Andreas Grois <andi@grois.info> | 2023-12-06 22:59:06 +0100 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2023-12-06 22:59:06 +0100 |
| commit | 9fb83b22220c825943549bc97bdab457bfad7f5b (patch) | |
| tree | cd69ed6739aca2d5642f476f5cbc34b6266cdc8b /Main.lean | |
| parent | d8bd3fef91f805821a15d6aa3c531f33b3805d10 (diff) | |
Part 2, finally
Diffstat (limited to 'Main.lean')
| -rw-r--r-- | Main.lean | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -28,6 +28,7 @@ def try_run_day_part (day : Days) (part : Parts) (data : String) : IO String := | ⟨4,_⟩, Parts.One => impl ⟨4,_⟩ Parts.One data | ⟨4,_⟩, Parts.Two => impl ⟨4,_⟩ Parts.Two data | ⟨5,_⟩, Parts.One => impl ⟨5,_⟩ Parts.One data + | ⟨5,_⟩, Parts.Two => impl ⟨5,_⟩ 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 |
