repo.or.cz
/
advlib.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Big day!
[advlib.git]
/
src
/
Advent
/
Parse.hs
blob
3129b275eb3fcee7db98340be9304ae4a1de261d
1
module
Advent
.
Parse
(
clumps
)
where
2
3
clumps
:: [
String
] -> [[
String
]]
4
clumps
[] = []
5
clumps
lines
=
6
let
(
x
,
xs
) =
break
(==
""
)
lines
7
in
x
:
clumps
(
drop
1
xs
)