From b3bd73e67ea2b465f41a6de562dda1c0d2acf757 Mon Sep 17 00:00:00 2001
From: Mikhail Glushenkov <mikhail.glushenkov@gmail.com>
Date: Sun, 20 Sep 2015 11:43:29 +0200
Subject: [PATCH] Comment.

---
 Cabal/Distribution/Version.hs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Cabal/Distribution/Version.hs b/Cabal/Distribution/Version.hs
index 47a13146c6..bd22429b71 100644
--- a/Cabal/Distribution/Version.hs
+++ b/Cabal/Distribution/Version.hs
@@ -821,7 +821,10 @@ hasUpperBound (UnionVersionRanges x y) = hasUpperBound x && hasUpperBound y
 hasUpperBound (IntersectVersionRanges x y) = hasUpperBound x || hasUpperBound y
 hasUpperBound (VersionRangeParens x) = hasUpperBound x
 
--- | Does the version range have a lower bound?
+-- | Does the version range have an explicit lower bound?
+--
+-- Note: this function only considers the user-specified lower bounds, but not
+-- the implicit >=0 lower bound.
 --
 -- @since 1.24.0.0
 hasLowerBound :: VersionRange -> Bool
-- 
GitLab