aboutsummaryrefslogtreecommitdiff
path: root/servant/src/Main.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/Main.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/Main.hs')
-rw-r--r--servant/src/Main.hs6
1 files changed, 0 insertions, 6 deletions
diff --git a/servant/src/Main.hs b/servant/src/Main.hs
index 680f1c6..70d244c 100644
--- a/servant/src/Main.hs
+++ b/servant/src/Main.hs
@@ -7,8 +7,6 @@
7{-# LANGUAGE QuasiQuotes #-} 7{-# LANGUAGE QuasiQuotes #-}
8{-# LANGUAGE TemplateHaskell #-} 8{-# LANGUAGE TemplateHaskell #-}
9{-# LANGUAGE TypeFamilies #-} 9{-# LANGUAGE TypeFamilies #-}
10{-# LANGUAGE FlexibleInstances #-}
11{-# LANGUAGE TypeSynonymInstances #-}
12 10
13import Thermoprint 11import Thermoprint
14import Thermoprint.Api 12import Thermoprint.Api
@@ -45,10 +43,6 @@ import Data.Int (Int64)
45 43
46import Prelude hiding (print) 44import Prelude hiding (print)
47 45
48type PrintOut = Block String
49
50derivePersistFieldJSON "PrintOut"
51
52share [mkPersist sqlSettings, mkMigrate "migrateAll"] [persistLowerCase| 46share [mkPersist sqlSettings, mkMigrate "migrateAll"] [persistLowerCase|
53Draft 47Draft
54 title String 48 title String