Big day!
[advlib.git] / src / Advent / Parse.hs
blob3129b275eb3fcee7db98340be9304ae4a1de261d
1 module Advent.Parse (clumps) where
3 clumps :: [String] -> [[String]]
4 clumps [] = []
5 clumps lines =
6 let (x, xs) = break (=="") lines
7 in x : clumps (drop 1 xs)