diff options
| author | jao <jao@gnu.org> | 2022-10-01 02:58:23 +0100 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2022-10-01 02:58:23 +0100 |
| commit | ac3b8212a68052f99eba2bd74a2dd8aa9ca2dcb2 (patch) | |
| tree | 85900083aec42915c3ebab1af352f48ca4f690c6 /src/Xmobar/Text/Loop.hs | |
| parent | ef380c045957413948d390c152f6401869526285 (diff) | |
| download | xmobar-ac3b8212a68052f99eba2bd74a2dd8aa9ca2dcb2.tar.gz xmobar-ac3b8212a68052f99eba2bd74a2dd8aa9ca2dcb2.tar.bz2 | |
a couple of superfluous IO usages removed
Diffstat (limited to 'src/Xmobar/Text/Loop.hs')
| -rw-r--r-- | src/Xmobar/Text/Loop.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xmobar/Text/Loop.hs b/src/Xmobar/Text/Loop.hs index 05379cd..5d2c43f 100644 --- a/src/Xmobar/Text/Loop.hs +++ b/src/Xmobar/Text/Loop.hs @@ -45,4 +45,4 @@ eventLoop cfg signal tv = do updateString :: Config -> TVar [String] -> IO String updateString conf v = do s <- readTVarIO v - format conf (concat s) + return $ format conf (concat s) |
