summaryrefslogtreecommitdiffstats
path: root/src/Much/State.hs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-05-14 22:51:18 +0200
committertv <tv@krebsco.de>2020-09-29 19:35:31 +0200
commit8d5e610b4caee7cb184294ca22f527f9f6934b82 (patch)
treeb1d95305dbf3a4134226c868798c125d06b8a863 /src/Much/State.hs
parent8e92e6e11d2b3b0bfb5ac9d68f347219493e6380 (diff)
Much.API: init
Diffstat (limited to 'src/Much/State.hs')
-rw-r--r--src/Much/State.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Much/State.hs b/src/Much/State.hs
index a522e99..b09d544 100644
--- a/src/Much/State.hs
+++ b/src/Much/State.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE FlexibleInstances #-}
module Much.State where
import Blessings.String (Blessings)
@@ -40,3 +41,6 @@ data ColorConfig = ColorConfig
, boringMessage :: Blessings String -> Blessings String
, tagMap :: [(T.Text, Blessings String -> Blessings String)]
}
+
+instance Show (State -> IO ()) where
+ show = const "λ"