projects
/
advent-of-code-24.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a794dd9
)
Tweaked parser
author
Neil Smith
<NeilNjae@users.noreply.github.com>
Wed, 11 Dec 2024 15:49:40 +0000
(15:49 +0000)
committer
Neil Smith
<NeilNjae@users.noreply.github.com>
Wed, 11 Dec 2024 15:49:40 +0000
(15:49 +0000)
advent11/Main.hs
patch
|
blob
|
history
diff --git
a/advent11/Main.hs
b/advent11/Main.hs
index 835b0e6b189bd3885ebcc9ad0d01866fba0e2038..d31c6947cf76ecccd2ff73c3df693669625ed7f6 100644
(file)
--- 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 =