Skip to content

Commit

Permalink
Set bounds for dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sellout committed Mar 11, 2024
1 parent 9dfce71 commit 71b2d1c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion containers/yaya-containers.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ library
Yaya.Containers.Pattern.Map
Yaya.Containers.Pattern.Set
build-depends:
containers ^>= {0.6.0, 0.7},
containers ^>= {0.4.2, 0.5.0, 0.6.0, 0.7},
yaya ^>= 0.5.0,
ghc-options:
-trust adjunctions
Expand Down
11 changes: 8 additions & 3 deletions core/yaya.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -171,18 +171,23 @@ library
either,
free,
kan-extensions,
lens,
-- lens < 5 isn’t `Safe`
lens ^>= {5, 5.1, 5.2},
profunctors,
strict,
-- strict < 0.4 doesn’t export various combinators
strict ^>= {0.4, 0.5},
template-haskell,
th-abstraction,
-- th-abstraction < 0.3 has different field names
th-abstraction ^>= {0.3.0, 0.4.0, 0.5.0, 0.6.0},
transformers,
-- NB: foldable-classes-compat is a transitive dependency … depending on
-- which version of other dependencies (specifically,
-- indexed-traversable) we select. However, `-trust` only works for
-- packages in the dependency graph, so we make it explicit here for the
-- times that it doesn’t get included transitively.
foldable1-classes-compat,
-- FIXME: Fold yaya-containers into here, and make this the dependency
containers ^>= {0.4.2, 0.5.0, 0.6.0, 0.7},
ghc-options:
-trust adjunctions
-trust array
Expand Down

0 comments on commit 71b2d1c

Please sign in to comment.