Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Added explicit imports #4

merged 1 commit into from

2 participants


Removed some extra imports that were not needed.

@mightybyte mightybyte merged commit fa7cf8c into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 3, 2012
  1. @drozzy

    Added explicit imports

    drozzy authored
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.