From e9ea2443611032cf5d0582e979ab314d591d57e9 Mon Sep 17 00:00:00 2001 From: Sylvain Henry Date: Fri, 29 Nov 2024 16:11:04 +0100 Subject: [PATCH] Fix typo in constraint example --- doc/cabal-package-description-file.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/cabal-package-description-file.rst b/doc/cabal-package-description-file.rst index b9b0cb172f3..26d5508e32c 100644 --- a/doc/cabal-package-description-file.rst +++ b/doc/cabal-package-description-file.rst @@ -1344,7 +1344,7 @@ system-dependent values for these fields. but ``time-1.12.3`` bumps the lower bound on base to ``>=4.14``. If we still want to compile with a ``ghc-8.8.*`` version of GHC that ships with ``base-4.13`` and with later GHC versions, then we can use ``time >=1.12 - && (time <1.12.3 || time >1.12.3)``. + && (<1.12.3 || >1.12.3)``. Hackage shows deprecated and preferred versions for packages, such as for `containers `_