aboutsummaryrefslogtreecommitdiff
path: root/servant/src/PrintOut.hs
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-10-22 21:14:44 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-10-22 21:14:44 +0200
commitb24a594ebc4d1f98cb93d7f6b706f91c92a011dc (patch)
tree655257f9431907e45b703f7abdb0a8b6c076f971 /servant/src/PrintOut.hs
parent2892a202e7c4e630181fc6c9a56a5f445b8aa63a (diff)
downloadthermoprint-b24a594ebc4d1f98cb93d7f6b706f91c92a011dc.tar
thermoprint-b24a594ebc4d1f98cb93d7f6b706f91c92a011dc.tar.gz
thermoprint-b24a594ebc4d1f98cb93d7f6b706f91c92a011dc.tar.bz2
thermoprint-b24a594ebc4d1f98cb93d7f6b706f91c92a011dc.tar.xz
thermoprint-b24a594ebc4d1f98cb93d7f6b706f91c92a011dc.zip
Revert "Merged PrintOut into Main.hs"
This reverts commit 9ca0799435aca9f4380ca7e80358dc77236d1b24.
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"