Skip to content
Browse files

Added explicit imports

  • Loading branch information...
1 parent ec7092d commit fa7cf8cb4abd8adce51cb31b20841243afd5a9c7 @drozzy drozzy committed
Showing with 16 additions and 15 deletions.
  1. +16 −15 examples/Site.hs
31 examples/Site.hs
@@ -6,25 +6,26 @@
{-# LANGUAGE OverloadedStrings #-}
module Main where
+-- explicit imports
import Prelude hiding ((.), id)
-import Control.Category
-import Control.Monad.Reader
-import Control.Monad.State
+import Control.Category ((.))
+import Control.Monad.Reader (asks)
import Data.ByteString (ByteString)
-import Data.Lens.Template
-import Data.SafeCopy
+import Data.SafeCopy (base, deriveSafeCopy)
import qualified Data.Text as T
-import Data.Typeable
-import Snap.Core
-import Snap.Snaplet
-import Snap.Snaplet.AcidState
-import Snap.Snaplet.Heist
-import Snap.Util.FileServe
-import Snap
-import Snap.Snaplet.AcidState
-import Snap.Snaplet.Heist
+import Data.Typeable (Typeable)
+import Snap.Util.FileServe (serveDirectory)
+import Snap (SnapletInit, Snaplet, Handler,
+ addRoutes, nestSnaplet, serveSnaplet,
+ defaultConfig, makeSnaplet,
+ snapletValue, writeText,
+ makeLens, getL, modL, modify)
+import Snap.Snaplet.AcidState (Update, Query, Acid, HasAcid (getAcidStore),
+ makeAcidic, update, query, acidInit)
-- acid-state code

0 comments on commit fa7cf8c

Please sign in to comment.
Something went wrong with that request. Please try again.