mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
don't require trailing : in overview.hs
This commit is contained in:
parent
b41e13d23a
commit
2aa93a8cc7
@ -26,7 +26,7 @@ main = do
|
|||||||
let mods = takeWhile ((> 0) . length) $
|
let mods = takeWhile ((> 0) . length) $
|
||||||
dropWhile ((== 0) . length) $
|
dropWhile ((== 0) . length) $
|
||||||
dropWhile ((> 0) . length) $
|
dropWhile ((> 0) . length) $
|
||||||
dropWhile (notElem "overview:" . words) $
|
dropWhile (notElem "overview" . words) $
|
||||||
lines file
|
lines file
|
||||||
putStr $ unlines mods
|
putStr $ unlines mods
|
||||||
let files = concat $ map ((++ ".hs ") . dropWhile (== ' ')) mods
|
let files = concat $ map ((++ ".hs ") . dropWhile (== ' ')) mods
|
||||||
|
Loading…
Reference in New Issue
Block a user