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

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

(limited to 'Day6.lean')

diff --git a/Day6.lean b/Day6.lean
index 9319a0e..3afaae5 100644
--- a/Day6.lean
+++ b/Day6.lean
@@ -12,7 +12,7 @@ private def parseLine (header : String) (input : String) : Except String (List N
   if not $ input.startsWith header then
     throw s!"Unexpected line header: {header}, {input}"
   let input := input.drop header.length |> String.trim
-  let numbers := input.split Char.isWhitespace
+  let numbers := input.splitToList Char.isWhitespace
     |> List.map String.trim
     |> List.filter (not ∘ String.isEmpty)
   numbers.mapM $ Option.toExcept s!"Failed to parse input line: Not a number {input}" ∘  String.toNat?
-- 
cgit v1.2.3

