diff options
author | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2008-04-29 14:59:53 +0200 |
---|---|---|
committer | Andrea Rossato <andrea.rossato@ing.unitn.it> | 2008-04-29 14:59:53 +0200 |
commit | 4b73d3043896c2d759a60894bdfdadbc10d93bf4 (patch) | |
tree | 5ff75f2b73efa0f590e04a9b693606c2b8499814 /Parsers.hs | |
parent | 661ba1eaf6f10dad7dcff79a326ebb5d22d012c6 (diff) | |
download | xmobar-4b73d3043896c2d759a60894bdfdadbc10d93bf4.tar.gz xmobar-4b73d3043896c2d759a60894bdfdadbc10d93bf4.tar.bz2 |
style, pointfree and trailing spaces0.9_release
darcs-hash:20080429125953-d6583-02a6653c15d3166ad264c45ec44082bdae30260e.gz
Diffstat (limited to 'Parsers.hs')
-rw-r--r-- | Parsers.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ templateParser = many . templateStringParser -- | Actually runs the template parsers parseTemplate :: Config -> String -> IO [(Runnable,String,String)] parseTemplate c s = - do str <- case (parse (templateParser c) "" s) of + do str <- case parse (templateParser c) "" s of Left _ -> return [("","","")] Right x -> return x let cl = map alias (commands c) |