Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't export all of Control.Lens

  • Loading branch information...
commit 16af56bb3480f099b163729f8d7f209d5c36cdfa 1 parent 0388a5f
@mightybyte mightybyte authored
View
1  project_template/tutorial/foo.cabal
@@ -17,6 +17,7 @@ Executable projname
Build-depends:
base >= 4 && < 5,
bytestring >= 0.9.1 && < 0.11,
+ lens >= 3.2 && < 3.3,
MonadCatchIO-transformers >= 0.2.1 && < 0.4,
mtl >= 2 && < 3,
snap >= 0.10 && < 0.11,
View
1  project_template/tutorial/src/Tutorial.lhs
@@ -65,6 +65,7 @@ You can also install the full code in the current directory with the command
>
> module Main where
>
+> import Control.Lens.TH
> import Data.IORef
> import qualified Data.ByteString.Char8 as B
> import Data.Maybe
View
4 src/Snap.hs
@@ -8,7 +8,7 @@ see "Snap.Snaplet". For the core web server API, see "Snap.Core".
module Snap
( module Control.Applicative
- , module Control.Lens
+ , module Control.Lens.Loupe
, module Control.Monad.State
, module Snap.Core
, module Snap.Http.Server
@@ -16,7 +16,7 @@ module Snap
) where
import Control.Applicative
-import Control.Lens
+import Control.Lens.Loupe
import Control.Monad.State
import Snap.Core
import Snap.Http.Server
Please sign in to comment.
Something went wrong with that request. Please try again.