can't understand the Cabal manual. flag, manual

Roman Beslik rabeslik at gmail.com
Sat Nov 24 19:21:41 CET 2012


On 24.11.12 18:22, Ben Millwood wrote:
> On Fri, Nov 23, 2012 at 2:25 PM, Roman Beslik <rabeslik at gmail.com> wrote:
>> http://www.haskell.org/cabal/users-guide/developing-packages.html#package-descriptions
>> {{{
>> manual: boolean (default: False)
>> By default, Cabal will first try to satisfy dependencies with the default
>> flag value and then, if that is not possible, with the negated value.
>> However, if the flag is manual, then the default value (which can be
>> overridden by commandline flags) will be used.
>> }}}
>> Can I interpret this as {{{
>> First, Cabal tries to satisfy dependencies with the default flag value.
>> Second, if the flag is manual, Cabal tries to satisfy dependencies with the
>> negated flag value.
>> }}} ?
>
> My understanding is that you want the negation of this (i.e. "Second,
> if the flag is /not/ manual [...]").
Yes, I have made this stupid mistake in my interpretation. :)



More information about the Libraries mailing list