Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
7d192e5c
Commit
7d192e5c
authored
Jul 11, 2016
by
Edward Z. Yang
Browse files
Update Haddock comment on RelaxDeps.
Signed-off-by:
Edward Z. Yang
<
ezyang@cs.stanford.edu
>
parent
74917562
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/Simple/Setup.hs
View file @
7d192e5c
...
...
@@ -260,10 +260,10 @@ instance Semigroup GlobalFlags where
-- * Config flags
-- ------------------------------------------------------------
-- |
Policy for
relaxing
upper
bounds in dependencies.
For example, given
--
'build-depends: array >= 0.3 && < 0.5', are we allowed to relax the upper
--
bound and choose a version of 'array' that is greater or equal to 0.5? By
--
default the upper bounds are always strictly honored
.
-- |
Generic data type for policy when
relaxing bounds in dependencies.
--
Don't use this directly: use 'AllowOlder' or 'AllowNewer' depending
--
on whether or not you are relaxing an lower or upper bound
--
(respectively)
.
data
RelaxDeps
=
-- | Default: honor the upper bounds in all dependencies, never choose
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment