X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=advent02%2Fsrc%2Fadvent02.hs;h=b4a8e434c1cdf9a75a6f2112d23f74110b7ed022;hb=1e9f01ceeffca5c34bec504c950f9c75686956f2;hp=ce0eeb77245d679691debdde5f5c42379d3e47c3;hpb=68043122bb8c2cc485dfa18d26e547ad73730a2e;p=advent-of-code-20.git

diff --git a/advent02/src/advent02.hs b/advent02/src/advent02.hs
index ce0eeb7..b4a8e43 100644
--- a/advent02/src/advent02.hs
+++ b/advent02/src/advent02.hs
@@ -41,7 +41,7 @@ matches p = ((pw!!l) == c) /= ((pw!!u) == c)
 type Parser = Parsec Void Text
 
 sc :: Parser ()
-sc = L.space (skipSome spaceChar) CA.empty CA.empty
+sc = L.space space1 CA.empty CA.empty
 -- sc = L.space (skipSome (char ' ')) CA.empty CA.empty
 
 lexeme  = L.lexeme sc