How much does using ghc without cabal imply a newer programmer? I don't use cabal when trying out small bits of code (maybe I should be using ghci), but am otherwise always using cabal.<br><br><div class="gmail_quote">
On Wed, Nov 9, 2011 at 3:18 AM, Duncan Coutts <span dir="ltr"><<a href="mailto:duncan.coutts@googlemail.com">duncan.coutts@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On 9 November 2011 00:17, Felipe Almeida Lessa <<a href="mailto:felipe.lessa@gmail.com">felipe.lessa@gmail.com</a>> wrote:<br>
> On Tue, Nov 8, 2011 at 3:01 PM, Daniel Fischer<br>
> <<a href="mailto:daniel.is.fischer@googlemail.com">daniel.is.fischer@googlemail.com</a>> wrote:<br>
>> On Tuesday 08 November 2011, 17:16:27, Simon Marlow wrote:<br>
>>> most people know about 1, but I think 2 is probably less well-known.<br>
>>> When in the edit-compile-debug cycle it really helps to have -O off,<br>
>>> because your compiles will be so much quicker due to both factors 1 & 2.<br>
>><br>
>> Of course. So defaulting to -O1 would mean one has to specify -O0 in the<br>
>> .cabal or Makefile resp. on the command line during development, which<br>
>> certainly is an inconvenience.<br>
><br>
> AFAIK, Cabal already uses -O1 by default.<br>
<br>
Indeed, and cabal check / hackage upload complain if you put -O{n} in<br>
your .cabal file.<br>
<br>
The recommended method during development is to use:<br>
<br>
$ cabal configure -O0<br>
<font color="#888888"><br>
<br>
Duncan<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Glasgow-haskell-users mailing list<br>
<a href="mailto:Glasgow-haskell-users@haskell.org">Glasgow-haskell-users@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/glasgow-haskell-users" target="_blank">http://www.haskell.org/mailman/listinfo/glasgow-haskell-users</a><br>
</div></div></blockquote></div><br>