summaryrefslogtreecommitdiff
path: root/Model.hs
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2014-12-01 12:13:38 +0100
committerFélix Sipma <felix.sipma@no-log.org>2014-12-01 12:50:45 +0100
commit8d659dddb649cd4adf343852619ba2b1f3b9747e (patch)
tree50045c7a050429b6c28697c8c78c8fa11633b863 /Model.hs
parent2f47e973d9a35d3a4c01fa0b61e0fb8d6dc4a823 (diff)
big scaffolding update
Diffstat (limited to 'Model.hs')
-rw-r--r--Model.hs8
1 files changed, 1 insertions, 7 deletions
diff --git a/Model.hs b/Model.hs
index 98a4d9a..f37d5a9 100644
--- a/Model.hs
+++ b/Model.hs
@@ -1,17 +1,11 @@
{-# LANGUAGE FlexibleInstances #-}
module Model where
-import Prelude
-import Yesod
-import Data.Text (Text)
+import ClassyPrelude.Yesod
import Database.Persist.Quasi
-import Data.Typeable (Typeable)
-import Data.Time (UTCTime)
import Shop.Unit.Types (Unit)
import Shop.Amount.Types (Amount)
import Shop.Quantity.Types (Quantity)
-import Control.Applicative ((<$>), (<*>))
-import Control.Monad (mzero)
import Data.Aeson ((.:?))
-- You can define all of your database entities in the entities file.