<div dir="ltr">I'm not sure what you think a `cabal upgrade` should do. You can ask Cabal to install a particular, newer version of a library and it will resolve the package dependencies across the project and prompt for reinstalls for where it's needed.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 17, 2015 at 1:47 PM, Joe Hillenbrand <span dir="ltr"><<a href="mailto:joehillen@gmail.com" target="_blank">joehillen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sandboxes are really a bandaid and most tutorials don't promote them enough.<br>
<br>
You can also still hit the multiple package versions issue in a sandbox.<br>
<br>
The lack of "cabal upgrade" is another big headache.<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Apr 17, 2015 at 11:29 AM, Christopher Allen <<a href="mailto:cma@bitemyapp.com">cma@bitemyapp.com</a>> wrote:<br>
> I work with a lot of Haskell beginners and the Cabal problems went away when<br>
> sandboxes were added to Cabal and the learners started using a sandbox for<br>
> every project.<br>
><br>
> I've only seen a handful (one hand, 5 fingers) of problems since then that<br>
> weren't attributable to, "wasn't using a sandbox". Of those, about half were<br>
> the user doing something uncommon/unusual.<br>
><br>
> I have a tutorial here <a href="http://howistart.org/posts/haskell/1" target="_blank">http://howistart.org/posts/haskell/1</a> which among<br>
> other things, covers the basics of using sandboxes.<br>
><br>
> Library maturity is my only worry with production Haskell. Not enough<br>
> eyeballs and all that. It's not enough to stop me or my colleagues using it<br>
> in production though. I can fix libraries, I can't fix Scala.<br>
><br>
><br>
><br>
> On Fri, Apr 17, 2015 at 1:21 PM, Joe Hillenbrand <<a href="mailto:joehillen@gmail.com">joehillen@gmail.com</a>><br>
> wrote:<br>
>><br>
>> > On Fri, Apr 17, 2015 at 6:21 AM, Gregory Guthrie <<a href="mailto:guthrie@mum.edu">guthrie@mum.edu</a>><br>
>> > wrote:<br>
>> ><br>
>> > And in my experience the cabal problems are the "fatal-flaw";<br>
>><br>
>> Big +1 here. Cabal is the biggest thing keeping me from aggressively<br>
>> promoting Haskell in industry. The risk of promoting Haskell now is<br>
>> that people will try out Haskell, hit a cabal issue, give up, and then<br>
>> form a bad opinion of Haskell because of it.<br>
>><br>
>> There is saying "If a user has a bad experience, that's a bug."<br>
>><br>
>> I've been patiently awaiting the Backpack overhaul before promoting<br>
>> Haskell in the workplace. [1]<br>
>><br>
>> [1] <a href="https://ghc.haskell.org/trac/ghc/wiki/Backpack" target="_blank">https://ghc.haskell.org/trac/ghc/wiki/Backpack</a><br>
>> _______________________________________________<br>
>> Haskell-Cafe mailing list<br>
>> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
>> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>