summaryrefslogtreecommitdiffstats
path: root/app/Pretty.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-08-12 14:11:40 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-08-12 14:56:02 +0200
commitc27c55fad9cd1fbf0d27ebcd919b78f59c4cbbb0 (patch)
tree40941f3df361a33cea0b0dbdfcbe561e4854e7f9 /app/Pretty.hs
parentbb8fc0abf3d55f292601d04517818f74f79c6e30 (diff)
feat: critical battery blinks
Diffstat (limited to 'app/Pretty.hs')
-rw-r--r--app/Pretty.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Pretty.hs b/app/Pretty.hs
index d2988a9..8621a41 100644
--- a/app/Pretty.hs
+++ b/app/Pretty.hs
@@ -24,6 +24,9 @@ data Doc
class Pretty a where
pretty :: a -> Doc
+instance Pretty Doc where
+ pretty = id
+
instance Pretty Char where
pretty = pretty . (: [])