Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace dependency on lens with microlens #2

Merged
merged 1 commit into from
Jul 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion goblins.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ library
, containers
, extra
, hedgehog
, lens
, microlens
, microlens-mtl
, microlens-th
, mmorph
, monad-control
, moo
Expand Down
3 changes: 2 additions & 1 deletion src/Test/Goblin/Core.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ module Test.Goblin.Core
, (<**>)
) where

import Control.Lens
import Control.Monad (replicateM)
import Control.Monad.Trans.State.Strict (State)
import Data.Typeable (Typeable)
Expand All @@ -23,6 +22,8 @@ import qualified Data.TypeRepMap as TM
import Hedgehog (Gen)
import qualified Hedgehog.Gen as Gen
import qualified Hedgehog.Range as Range
import Lens.Micro.Mtl ((%=), (.=), use)
import Lens.Micro.TH (makeLenses)
import Moo.GeneticAlgorithm.Types (Genome, Population)

import Test.Goblin.Util
Expand Down
2 changes: 1 addition & 1 deletion src/Test/Goblin/Instances.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module Test.Goblin.Instances where

import Control.Applicative (liftA2)
import Control.Monad (replicateM)
import Control.Lens
import qualified Data.Bimap as Bimap
import Data.Char (chr)
import Data.List (splitAt)
Expand All @@ -22,6 +21,7 @@ import Data.Typeable (Typeable)
import Data.Word (Word8, Word64)
import Hedgehog (Gen)
import qualified Hedgehog.Gen as Gen
import Lens.Micro.Mtl ((.=), use)
import Moo.GeneticAlgorithm.Binary (bitsNeeded, decodeBinary)
import Numeric.Natural (Natural)

Expand Down