aboutsummaryrefslogtreecommitdiff
path: root/tprint/src/Instances.hs
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-03-01 09:57:25 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2016-03-01 09:57:25 +0100
commitc2153f196c64593a252bc0fbbc3d503628fe896f (patch)
treee2218871dc70a304cd37f26c895d524f0cc6456f /tprint/src/Instances.hs
parentaeceaafdab661f6e0d63ef9695396bc7dfb8619d (diff)
downloadthermoprint-c2153f196c64593a252bc0fbbc3d503628fe896f.tar
thermoprint-c2153f196c64593a252bc0fbbc3d503628fe896f.tar.gz
thermoprint-c2153f196c64593a252bc0fbbc3d503628fe896f.tar.bz2
thermoprint-c2153f196c64593a252bc0fbbc3d503628fe896f.tar.xz
thermoprint-c2153f196c64593a252bc0fbbc3d503628fe896f.zip
printers
Diffstat (limited to 'tprint/src/Instances.hs')
-rw-r--r--tprint/src/Instances.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tprint/src/Instances.hs b/tprint/src/Instances.hs
index cffb8b0..7814bbc 100644
--- a/tprint/src/Instances.hs
+++ b/tprint/src/Instances.hs
@@ -8,7 +8,7 @@ import Data.Time (UTCTime, formatTime, defaultTimeLocale)
8import Text.Show.Pretty (Value, PrettyVal(..), dumpStr) 8import Text.Show.Pretty (Value, PrettyVal(..), dumpStr)
9import qualified Text.Show.Pretty as PShow (Value(..)) 9import qualified Text.Show.Pretty as PShow (Value(..))
10 10
11import Thermoprint.Client (Scheme(..), BaseUrl(..), PrinterId(..), JobId(..), DraftId(..), Range(..)) 11import Thermoprint.Client (Scheme(..), BaseUrl(..), PrinterId(..), JobId(..), DraftId(..), Range(..), PrinterStatus(..), JobStatus(..), PrintingError(..), EncodingException(..))
12 12
13instance PrettyVal Scheme 13instance PrettyVal Scheme
14instance PrettyVal BaseUrl 14instance PrettyVal BaseUrl
@@ -23,3 +23,7 @@ instance PrettyVal UTCTime where
23instance PrettyVal Text where 23instance PrettyVal Text where
24 prettyVal = prettyVal . T.unpack 24 prettyVal = prettyVal . T.unpack
25 25
26instance PrettyVal PrinterStatus
27instance PrettyVal JobStatus
28instance PrettyVal PrintingError
29instance PrettyVal EncodingException