From d59898580ee09563f56e6ea25f9f7eab83ea394c Mon Sep 17 00:00:00 2001 From: Mike Pilgrem Date: Tue, 16 Jul 2024 01:37:04 +0100 Subject: [PATCH] Fix Haddock docs for `Distribution.Types.Dependency` (#10197) Type `Dependency` is an instance of `Ord`, from `Cabal-syntax-3.10.1.0`. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 33bd14cf5dc6cedf4ee99c9e92aee6c2cb650c98) --- Cabal-syntax/src/Distribution/Types/Dependency.hs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Cabal-syntax/src/Distribution/Types/Dependency.hs b/Cabal-syntax/src/Distribution/Types/Dependency.hs index 10d0506b57e..222a699a3f9 100644 --- a/Cabal-syntax/src/Distribution/Types/Dependency.hs +++ b/Cabal-syntax/src/Distribution/Types/Dependency.hs @@ -33,10 +33,6 @@ import qualified Text.PrettyPrint as PP -- -- /Invariant:/ package name does not appear as 'LSubLibName' in -- set of library names. --- --- /Note:/ 'Dependency' is not an instance of 'Ord', and so it cannot be used --- in 'Set' or as the key to a 'Map'. For these and similar use cases see --- 'DependencyMap'. data Dependency = -- | The set of libraries required from the package. -- Only the selected libraries will be built.