diff options
| author | Andreas Grois <andi@grois.info> | 2025-11-16 21:08:35 +0100 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2025-11-16 21:08:35 +0100 |
| commit | 3a9ff92902df508074daa3017d1a71dae7e85248 (patch) | |
| tree | 3ddc5f4dc040ce2aa762c642569ff274f36049e7 /Day1.lean | |
| parent | 75628f029abfd9829a1259a6e1dd7758d548c13f (diff) | |
Lean 4.25feature/day17
Diffstat (limited to 'Day1.lean')
| -rw-r--r-- | Day1.lean | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ import Common namespace Day1 def parse (input : String) : List String := - input.split Char.isWhitespace |> List.filter (not ∘ String.isEmpty) + input.splitToList Char.isWhitespace |> List.filter (not ∘ String.isEmpty) -- Both parts could still be improved by doing two searches, one from the left, one from the right |
