<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jul 1, 2014 at 9:20 PM, Ivan Lazar Miljenovic <span dir="ltr"><<a href="mailto:ivan.miljenovic@gmail.com" target="_blank">ivan.miljenovic@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Why does cabal-install twiddle flags though?<br>
<br>
Surely if I say "default: False" that means "don't set this to True<br>
unless you actually want it".  Having an extra "Manual" field seems<br>
like duplication.<br></blockquote><div><br></div><div>Not exactly. You use it to specify which alternative to try first; and the reason it's trying alternatives is so that it can adapt to different platforms: dependency versions (e.g. the old split-base flag), Unix vs. Windows, etc.</div>
<div><br></div><div>Controlling which one is tried first may be necessary to ensure it doesn't accidentally match something that appears to work but is less correct or appropriate than the alternative. For example, using an older library setup may work in installations that have both old and new libraries, but trying the new one first is likely to have e.g. performance or compatibility benefits.</div>
</div><div><br></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>