diff options
author | John Soo <jsoo1@asu.edu> | 2021-10-31 20:04:48 -0700 |
---|---|---|
committer | John Soo <jsoo1@asu.edu> | 2021-11-07 17:49:07 -0800 |
commit | fbb987b3c24b296697d7495048bcd272a63b6533 (patch) | |
tree | cfa8afee987c464162eb455f56e821defd5d5844 /src/Xmobar/Config/Types.hs | |
parent | 45f5d80798806a21a693913291ea8c79c07c1e1b (diff) | |
download | xmobar-fbb987b3c24b296697d7495048bcd272a63b6533.tar.gz xmobar-fbb987b3c24b296697d7495048bcd272a63b6533.tar.bz2 |
Add details to error message regarding purpose of `signal` field.
Diffstat (limited to 'src/Xmobar/Config/Types.hs')
-rw-r--r-- | src/Xmobar/Config/Types.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xmobar/Config/Types.hs b/src/Xmobar/Config/Types.hs index dd5aeb8..8bbae40 100644 --- a/src/Xmobar/Config/Types.hs +++ b/src/Xmobar/Config/Types.hs @@ -99,7 +99,7 @@ data Border = NoBorder newtype SignalChan = SignalChan { unSignalChan :: Maybe (STM.TMVar SignalType) } instance Read SignalChan where - readsPrec _ _ = fail "Trying to read a SignalChan" + readsPrec _ _ = fail "SignalChan is not readable from a String" instance Show SignalChan where show (SignalChan (Just _)) = "SignalChan (Just <tmvar>)" |