From 39583fb124eaeb18c153a51de64fe969f3120495 Mon Sep 17 00:00:00 2001 From: Edward Kmett Date: Thu, 4 Aug 2011 15:53:30 -0400 Subject: [PATCH] added focus, dep bump --- Data/Lens.hs | 2 ++ data-lens-fd.cabal | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Data/Lens.hs b/Data/Lens.hs index 104ccc5..abe6872 100644 --- a/Data/Lens.hs +++ b/Data/Lens.hs @@ -11,12 +11,14 @@ module Data.Lens , (//=), (!/=) -- modify -- :: (MonadState a m, Fractional b) => Lens a b -> b -> m b , (&&=), (!&&=) -- modify -- :: MonadState a m => Lens a Bool -> Bool -> m Bool , (||=), (!||=) -- modify -- :: MonadState a m => Lens a Bool -> Bool -> m Bool + , focus ) where import Control.Comonad.Trans.Store import Control.Monad.State import Data.Functor.Identity import Data.Lens.Common +import Data.Lens.Lazy (focus) -- * State actions diff --git a/data-lens-fd.cabal b/data-lens-fd.cabal index 5167f1c..b9bb6b5 100644 --- a/data-lens-fd.cabal +++ b/data-lens-fd.cabal @@ -1,6 +1,6 @@ name: data-lens-fd category: Control, Comonads -version: 1.8.0.3 +version: 2.0 license: BSD3 cabal-version: >= 1.6 license-file: LICENSE @@ -26,8 +26,8 @@ library base >= 4 && < 5, mtl >= 2.0.1.0 && <= 2.1, transformers >= 0.2 && < 0.3, - data-lens >= 1.8 && < 1.9, - comonad-transformers >= 1.8 && < 1.9 + data-lens >= 2.0 && < 2.1, + comonad-transformers >= 2.0 && < 2.1 exposed-modules: Data.Lens