aboutsummaryrefslogtreecommitdiff
path: root/tprint/src/Instances.hs
diff options
context:
space:
mode:
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