aboutsummaryrefslogtreecommitdiff
path: root/servant/src/PrintOut.hs
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-10-17 21:23:45 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-10-17 21:23:45 +0200
commite65e1eaac335a4738abb9e8ee8da7a229f96c2c0 (patch)
tree8711caffd49f24ee8136523e0aefc76e37d8666a /servant/src/PrintOut.hs
parent005dc408dc09c3b479398ebe3e92efa2cd54846e (diff)
downloadthermoprint-e65e1eaac335a4738abb9e8ee8da7a229f96c2c0.tar
thermoprint-e65e1eaac335a4738abb9e8ee8da7a229f96c2c0.tar.gz
thermoprint-e65e1eaac335a4738abb9e8ee8da7a229f96c2c0.tar.bz2
thermoprint-e65e1eaac335a4738abb9e8ee8da7a229f96c2c0.tar.xz
thermoprint-e65e1eaac335a4738abb9e8ee8da7a229f96c2c0.zip
Drafts
Diffstat (limited to 'servant/src/PrintOut.hs')
-rw-r--r--servant/src/PrintOut.hs14
1 files changed, 14 insertions, 0 deletions
diff --git a/servant/src/PrintOut.hs b/servant/src/PrintOut.hs
new file mode 100644
index 0000000..5f95a22
--- /dev/null
+++ b/servant/src/PrintOut.hs
@@ -0,0 +1,14 @@
1{-# LANGUAGE TemplateHaskell #-}
2{-# LANGUAGE TypeSynonymInstances #-}
3{-# LANGUAGE FlexibleInstances #-}
4module PrintOut
5 ( PrintOut
6 ) where
7
8import Thermoprint
9import Thermoprint.Api
10import Database.Persist.TH
11
12type PrintOut = Block String
13
14derivePersistFieldJSON "PrintOut"