diff options
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 |
