From 3e9d25cf2c66f0e1763c52995b8aa5bc88ee7a81 Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Wed, 11 Dec 2024 15:49:40 +0000 Subject: [PATCH] Tweaked parser --- advent11/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advent11/Main.hs b/advent11/Main.hs index 835b0e6..d31c694 100644 --- a/advent11/Main.hs +++ b/advent11/Main.hs @@ -45,7 +45,7 @@ expandStone n -- parse the input file stonesP :: Parser [Int] -stonesP = decimal `sepBy` " " +stonesP = decimal `sepBy` space successfulParse :: Text -> [Int] successfulParse input = -- 2.34.1