summaryrefslogtreecommitdiffhomepage
path: root/Parsers.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@ing.unitn.it>2008-04-29 14:59:53 +0200
committerAndrea Rossato <andrea.rossato@ing.unitn.it>2008-04-29 14:59:53 +0200
commit4b73d3043896c2d759a60894bdfdadbc10d93bf4 (patch)
tree5ff75f2b73efa0f590e04a9b693606c2b8499814 /Parsers.hs
parent661ba1eaf6f10dad7dcff79a326ebb5d22d012c6 (diff)
downloadxmobar-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.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parsers.hs b/Parsers.hs
index 4c9cc8e..5c086ff 100644
--- a/Parsers.hs
+++ b/Parsers.hs
@@ -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)