From 3a9ff92902df508074daa3017d1a71dae7e85248 Mon Sep 17 00:00:00 2001
From: Andreas Grois <andi@grois.info>
Date: Sun, 16 Nov 2025 21:08:35 +0100
Subject: Lean 4.25

---
 Day1.lean | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'Day1.lean')

diff --git a/Day1.lean b/Day1.lean
index d9f0c69..6943254 100644
--- a/Day1.lean
+++ b/Day1.lean
@@ -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
 
-- 
cgit v1.2.3

