projects
/
advent-of-code-20.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Done day 20
[advent-of-code-20.git]
/
advent02
/
src
/
advent02.hs
diff --git
a/advent02/src/advent02.hs
b/advent02/src/advent02.hs
index ce0eeb77245d679691debdde5f5c42379d3e47c3..b4a8e434c1cdf9a75a6f2112d23f74110b7ed022 100644
(file)
--- 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 ()
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
-- sc = L.space (skipSome (char ' ')) CA.empty CA.empty
lexeme = L.lexeme sc