Re: [Haskell-cafe] library-profiling default

2011-08-07 Thread Albert Y. C. Lai

On 11-08-04 03:06 AM, Tom Doris wrote:

Is there a good reason that the default for library-profiling in
.cabal/config is set to False?


The combination of two defaults

-- library-profiling: False
-- documentation: False

points towards optimizing for people who use applications such as xmonad 
but otherwise would not write in Haskell.


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] library-profiling default

2011-08-04 Thread Tom Doris
Hi
Is there a good reason that the default for library-profiling in
.cabal/config is set to False? It seems a lot of people hit the problem of
trying to profile for the first time, finding it doesn't work because
profiling libraries haven't been installed, then they have to walk the
dependencies reinstalling everything.

Is there a major cost or problem with just defaulting this to True?

Apologies if this is answered elsewhere, I saw various discussions on why it
is difficult to automatically build required libs with profiling on demand,
but nothing that discussed changing the default so that they are always
built.
Tom
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] library-profiling default

2011-08-04 Thread Ivan Lazar Miljenovic
On 4 August 2011 17:06, Tom Doris tomdo...@gmail.com wrote:
 Hi
 Is there a good reason that the default for library-profiling in
 .cabal/config is set to False? It seems a lot of people hit the problem of
 trying to profile for the first time, finding it doesn't work because
 profiling libraries haven't been installed, then they have to walk the
 dependencies reinstalling everything.
 Is there a major cost or problem with just defaulting this to True?
 Apologies if this is answered elsewhere, I saw various discussions on why it
 is difficult to automatically build required libs with profiling on demand,
 but nothing that discussed changing the default so that they are always
 built.

My guess is that this way, it reduces the build-time for users that
are just using cabal-install to get Haskell programs (darcs, pandoc,
etc.) or using Haskell for assignments but with no need/interest in
profiling.

-- 
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe