summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorReto Habluetzel <rethab@rethab.ch>2012-09-14 23:12:40 +0200
committerReto Habluetzel <rethab@rethab.ch>2012-09-14 23:12:40 +0200
commit1b38bbadb62fa06f5e00ee89e0384591dc522325 (patch)
tree05ce0d9ea461d215a85b94d9a8cb47e1f1c0954b /src
parent7e5e4bca3f7b35ec5569c28b4a86546a1234eb51 (diff)
downloadxmobar-1b38bbadb62fa06f5e00ee89e0384591dc522325.tar.gz
xmobar-1b38bbadb62fa06f5e00ee89e0384591dc522325.tar.bz2
better readable code
Diffstat (limited to 'src')
-rw-r--r--src/Plugins/Monitors/Net.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Plugins/Monitors/Net.hs b/src/Plugins/Monitors/Net.hs
index 9ea4346..b8adc74 100644
--- a/src/Plugins/Monitors/Net.hs
+++ b/src/Plugins/Monitors/Net.hs
@@ -135,7 +135,7 @@ runNet :: NetDevRef -> String -> [String] -> Monitor String
runNet nref i _ = io (parseNet nref i) >>= printNet
parseNets :: [(NetDevRef, String)] -> IO [NetDev]
-parseNets = mapM (\(ref, i) -> parseNet ref i)
+parseNets = mapM $ \(ref, i) -> parseNet ref i
runNets :: [(NetDevRef, String)] -> [String] -> Monitor String
runNets refs _ = io (parseActive refs) >>= printNet