mirror of
https://github.com/i-am-tom/higgledy.git
synced 2024-08-17 03:50:23 +03:00
Merge pull request #24 from AlistairB/generic-lens-2
Fixes for generic-lens 2.0
This commit is contained in:
commit
165d8df053
9
cabal.project
Normal file
9
cabal.project
Normal file
@ -0,0 +1,9 @@
|
||||
packages: .
|
||||
|
||||
with-compiler: ghc-8.8.3
|
||||
|
||||
source-repository-package
|
||||
type: git
|
||||
location: https://github.com/AlistairB/generic-lens.git
|
||||
tag: e9fe04b049aa62c4489014537a4e2a0cf8644c79
|
||||
subdir: generic-lens-core
|
@ -24,9 +24,10 @@ library
|
||||
Data.Generic.HKD.Types
|
||||
-- other-modules:
|
||||
-- other-extensions:
|
||||
build-depends: base ^>= 4.12
|
||||
, barbies ^>= 1.1.0
|
||||
, generic-lens ^>= 1.1.0
|
||||
build-depends: base ^>= 4.13
|
||||
, barbies >= 1.1.0 && < 3
|
||||
, generic-lens ^>= 2.0
|
||||
, generic-lens-core ^>= 2.0
|
||||
, QuickCheck >= 2.12.6 && < 2.14
|
||||
, named ^>= 0.3.0.0
|
||||
hs-source-dirs: src
|
||||
@ -34,11 +35,11 @@ library
|
||||
|
||||
test-suite test
|
||||
build-depends: base
|
||||
, barbies ^>= 1.1.0
|
||||
, barbies >= 1.1.0 && < 3
|
||||
, doctest ^>= 0.16.0
|
||||
, higgledy
|
||||
, hspec >= 2.6.1 && < 2.8
|
||||
, lens ^>= 4.17
|
||||
, lens ^>= 4.19
|
||||
, QuickCheck >= 2.12.6 && < 2.14
|
||||
main-is: Main.hs
|
||||
type: exitcode-stdio-1.0
|
||||
@ -47,8 +48,8 @@ test-suite test
|
||||
|
||||
test-suite readme
|
||||
build-depends: base
|
||||
, barbies ^>= 1.1.0
|
||||
, lens ^>= 4.17
|
||||
, barbies >= 1.1.3.0 && < 3
|
||||
, lens ^>= 4.19
|
||||
, higgledy
|
||||
, named ^>= 0.3.0.0
|
||||
main-is: README.lhs
|
||||
|
@ -25,7 +25,7 @@ module Data.Generic.HKD.Build
|
||||
) where
|
||||
|
||||
import Data.Kind (Type)
|
||||
import Data.GenericLens.Internal (HList (..))
|
||||
import Data.Generics.Product.Internal.HList (HList (..))
|
||||
import Data.Generic.HKD.Types (HKD (..), GHKD_)
|
||||
import GHC.Generics
|
||||
import Prelude hiding (uncurry)
|
||||
|
@ -28,7 +28,7 @@ module Data.Generic.HKD.Named
|
||||
|
||||
import Data.Functor.Contravariant (Contravariant (..))
|
||||
import Data.Generic.HKD.Types (HKD, HKD_)
|
||||
import Data.GenericLens.Internal (GUpcast (..))
|
||||
import Data.Generics.Product.Internal.Subtype (GUpcast (..))
|
||||
import Data.Kind (Type)
|
||||
import GHC.Generics
|
||||
import Named ((:!), NamedF (..))
|
||||
|
Loading…
Reference in New Issue
Block a user