From: Neil Smith Date: Wed, 11 Dec 2024 15:49:40 +0000 (+0000) Subject: Tweaked parser X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;h=3e9d25cf2c66f0e1763c52995b8aa5bc88ee7a81;p=advent-of-code-24.git Tweaked parser --- 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 =