Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added focus, dep bump

  • Loading branch information...
commit 39583fb124eaeb18c153a51de64fe969f3120495 1 parent 1a83069
Edward Kmett authored
2  Data/Lens.hs
@@ -11,12 +11,14 @@ module Data.Lens
11 11
   , (//=), (!/=)   -- modify -- :: (MonadState a m, Fractional b) => Lens a b -> b -> m b
12 12
   , (&&=), (!&&=)  -- modify -- :: MonadState a m => Lens a Bool -> Bool -> m Bool
13 13
   , (||=), (!||=)  -- modify -- :: MonadState a m => Lens a Bool -> Bool -> m Bool
  14
+  , focus
14 15
   ) where
15 16
 
16 17
 import Control.Comonad.Trans.Store
17 18
 import Control.Monad.State
18 19
 import Data.Functor.Identity
19 20
 import Data.Lens.Common
  21
+import Data.Lens.Lazy (focus)
20 22
 
21 23
 -- * State actions
22 24
 
6  data-lens-fd.cabal
... ...
@@ -1,6 +1,6 @@
1 1
 name:          data-lens-fd
2 2
 category:      Control, Comonads
3  
-version:       1.8.0.3
  3
+version:       2.0
4 4
 license:       BSD3
5 5
 cabal-version: >= 1.6
6 6
 license-file:  LICENSE
@@ -26,8 +26,8 @@ library
26 26
     base >= 4 && < 5,
27 27
     mtl >= 2.0.1.0 && <= 2.1,
28 28
     transformers >= 0.2 && < 0.3,
29  
-    data-lens >= 1.8 && < 1.9,
30  
-    comonad-transformers >= 1.8 && < 1.9
  29
+    data-lens >= 2.0 && < 2.1,
  30
+    comonad-transformers >= 2.0 && < 2.1
31 31
 
32 32
   exposed-modules:
33 33
     Data.Lens

0 notes on commit 39583fb

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