Re: [Haskell-cafe] Cabal Compiler Flag Problem

2010-03-23 Thread Ben Derrett
Thank you. I'm using GHC 6.8.2. I can't see ghc-options in the file /root/.cabal/config, am I looking in the right place? Ben On Wed, Mar 24, 2010 at 1:30 AM, Ivan Miljenovic wrote: > On 24 March 2010 16:26, Ben Derrett wrote: > > cabal install cgi > > Resolving depend

[Haskell-cafe] Cabal Compiler Flag Problem

2010-03-23 Thread Ben Derrett
Hi, I'm trying to install the Haskell cgi module, as per here http://passingcuriosity.com/2009/haskell-fastcgi-with-apache/. When I type cabal install cgi, I get the following error (on a Fedora instance): cabal install cgi Resolving dependencies... Configuring MonadCatchIO-mtl-0.3.0.0... Preproce

[Haskell-cafe] Trace

2010-03-19 Thread Ben Derrett
Hi, I'm a new Haskell programmer and am trying to output the values of some of the variables (for debugging) as the program executes. At the moment to output the value of the function I use: f x y z = trace (show moves) moves where moves = [complicated expression of x y z] But really what I wa