Re: [Haskell-cafe] Cmdargs and common flags

2011-03-12 Thread Magnus Therning
On Mon, Feb 14, 2011 at 19:11, Neil Mitchell ndmitch...@gmail.com wrote: Hi Magnus, Finally, you can switch to the pure annotations. I will document them shortly and give an example in System.Console.CmdArgs.Implicit, but for now the details can be found at

Re: [Haskell-cafe] possible bug for ghc 7 + xcode 4 on snow leopard?

2011-03-12 Thread steffen
There is no SDK for older Mac OS X Releases in XCode 4, but for iPhone... Not even in the Resources/Packages. Indeed Apple did remove support for older Systems then snow leopard in its new development tools. For that reason and problems with no support of IB Plugins one is encouraged not to

[Haskell-cafe] Error while registering packages: cairo glib

2011-03-12 Thread Daniel Díaz
Hi, cafe, When I have updated my Haskell Platform version to 2011.2.0.0, and I try to install cairo or glib, during the registering I read the following: Registering glib-0.12.0... Installing library in C:\Documents and Settings\User\Datos de programa\cabal\glib-0.12.0\ghc-7.0.2 Registering

[Haskell-cafe] Haddock fails on parsing Hamlet

2011-03-12 Thread Mathew de Detrich
Since the site for signing up to haddock mailing list seems to be down ( http://projects.haskell.org/cgi-bin/mailman/listinfo/haddock) I thought I would post this here Haddock fails to parse (and therefore closes prematurely) when generating documentation for the Hamlet package found here (

Re: [Haskell-cafe] Error while registering packages: cairo glib

2011-03-12 Thread Ryan Yates
Hi Daniel, I experienced this problem yesterday and reported the issue here: http://hackage.haskell.org/trac/gtk2hs/ticket/1203 With some small changes to the Gtk2hsSetup.hs it registers successfully. Hope this helps, Ryan http://hackage.haskell.org/trac/gtk2hs/ticket/1203 On Sat, Mar 12,

[Haskell-cafe] cabal install yesod gives an error on ghc 7.02

2011-03-12 Thread Vagif Hagverdiyev
cabal install yesod gives an error on ghc 7.02: http://hackage.haskell.org/trac/ghc/ticket/5004 One of the commenters on that ticcket says: found that providing an unstripped version of libHsghc-7.0.2.a allows for successful linking. Where can i get that unstripped version of libHsghc-7.0.2.a

Re: [Haskell-cafe] possible bug for ghc 7 + xcode 4 on snow leopard?

2011-03-12 Thread Carter Schonwald
well, the xcode 4 installer doesn't delete those files, it just moves them to developer-old On Sat, Mar 12, 2011 at 5:36 AM, steffen steffen.sier...@googlemail.comwrote: There is no SDK for older Mac OS X Releases in XCode 4, but for iPhone... Not even in the Resources/Packages. Indeed Apple

Re: [Haskell-cafe] cabal install yesod gives an error on ghc 7.02

2011-03-12 Thread Michael Snoyman
Quick idea: I wonder if the linking with hint is causing the trouble. Could you try building with cabal install yesod -fproduction? I haven't had a chance to install GHC 7.02 locally yet /shame. Michael On Sat, Mar 12, 2011 at 7:26 PM, Vagif Hagverdiyev vagif.ve...@gmail.com wrote: cabal

Re: [Haskell-cafe] cabal install yesod gives an error on ghc 7.02

2011-03-12 Thread Vagif Hagverdiyev
Yes, -fproduction installs fine. On Sat, Mar 12, 2011 at 9:31 AM, Michael Snoyman mich...@snoyman.comwrote: Quick idea: I wonder if the linking with hint is causing the trouble. Could you try building with cabal install yesod -fproduction? I haven't had a chance to install GHC 7.02 locally

[Haskell-cafe] Light and fast http server

2011-03-12 Thread Greg Weber
snap or warp/yesod. maybe in a few years we will have a winner for the platform... --dons On Friday, March 11, 2011, Vo Minh Thu not...@gmail.com wrote: 2011/3/11 Victor Oliveira rhapso...@gmail.com: Hi cafe, There are a lot of http servers in hackage. I didn't have used none. I

Re: [Haskell-cafe] Light and fast http server

2011-03-12 Thread Jeremy Shaw
On Mar 11, 2011, at 4:39 PM, Victor Oliveira wrote: Hi cafe, There are a lot of http servers in hackage. I didn't have used none. I would like to know if one of them is something closer of the nginx. I need some light and fast. It don't need support all http, just the basics is fine.

Re: [Haskell-cafe] Light and fast http server

2011-03-12 Thread Michael Snoyman
On Sat, Mar 12, 2011 at 9:00 PM, Jeremy Shaw jer...@n-heptane.com wrote: On Mar 11, 2011, at 4:39 PM, Victor Oliveira wrote: Hi cafe, There are a lot of http servers in hackage. I didn't have used none. I would like to know if one of them is something closer of the nginx. I need some light

[Haskell-cafe] Yesod 0.7.1 using GHC 7.0.2 on Arch Linux

2011-03-12 Thread Ertugrul Soeylemez
Hello there, today I have upgraded to GHC 7.0.2 by doing a system update on my Arch Linux box (x86, 32 bits), and I'm having difficulties to install Yesod. Its dependencies seem to have been installed without problems, but the Yesod package itself fails. The complete build log follows: %

Re: [Haskell-cafe] Cmdargs and common flags

2011-03-12 Thread Neil Mitchell
{-# OPTIONS_GHC -fno-warn-missing-fields #-} That's what I did in my CmdArgs test suite - if you have all your CmdArgs bit in a separate file then missing this warning will be fine. I don't know of any way to rewrite the code to indicate to GHC that you know what you are doing. Thanks, Neil On

Re: [Haskell-cafe] Yesod 0.7.1 using GHC 7.0.2 on Arch Linux

2011-03-12 Thread Ryan Yates
Looks to be reported here: http://hackage.haskell.org/trac/ghc/ticket/5004 http://hackage.haskell.org/trac/ghc/ticket/5004Ryan On Sat, Mar 12, 2011 at 3:26 PM, Ertugrul Soeylemez e...@ertes.de wrote: Hello there, today I have upgraded to GHC 7.0.2 by doing a system update on my Arch Linux

Re: [Haskell-cafe] Haddock fails on parsing Hamlet

2011-03-12 Thread Mathew de Detrich
Don't need to worry about this, its being fixed in the next release of hamlet On Sun, Mar 13, 2011 at 1:25 AM, Mathew de Detrich dete...@gmail.comwrote: Since the site for signing up to haddock mailing list seems to be down ( http://projects.haskell.org/cgi-bin/mailman/listinfo/haddock) I

Re: [Haskell-cafe] Yesod 0.7.1 using GHC 7.0.2 on Arch Linux

2011-03-12 Thread Ertugrul Soeylemez
Hello Ryan, thanks a lot. Is there a workaround for this, until it's fixed? Greets, Ertugrul Ryan Yates fryguy...@gmail.com wrote: Looks to be reported here: http://hackage.haskell.org/trac/ghc/ticket/5004 http://hackage.haskell.org/trac/ghc/ticket/5004Ryan On Sat, Mar 12, 2011

Re: [Haskell-cafe] Yesod 0.7.1 using GHC 7.0.2 on Arch Linux

2011-03-12 Thread Ertugrul Soeylemez
Oh, I just noticed the other thread about this issue. Compiling Yesod with the -fproduction flag solved it. Thanks to Michael for that. Greets, Ertugrul Ertugrul Soeylemez e...@ertes.de wrote: Hello Ryan, thanks a lot. Is there a workaround for this, until it's fixed? Greets,

Re: [Haskell-cafe] Yesod 0.7.1 using GHC 7.0.2 on Arch Linux

2011-03-12 Thread vagif . verdi
No, it is not solved. With -fproduction flag you are loosing devel-server functionality. On Saturday, March 12, 2011 02:45:11 PM Ertugrul Soeylemez wrote: Oh, I just noticed the other thread about this issue. Compiling Yesod with the -fproduction flag solved it. Thanks to Michael for that.

[Haskell-cafe] [ANN] new version of uu-parsinglib

2011-03-12 Thread S. Doaitse Swierstra
Version 2.7.0 was uploaded to hackage. From the CHANGELOG: Version 2.7.0 Improvement: change of error correction at end of amb (which deals with ambiguous parsers) combinator; available lookahead is better taken into account Relatively large change: • Change to Data.ListLike inputs,

[Haskell-cafe] writing to a fifo when the reader stops reading

2011-03-12 Thread briand
Hi all, here's the code: writer = do threadDelay 10 threadWaitWrite fd fdWrite fd ((show x) ++ \n) writer fd (x+1) pretty simple, it just keeps writing. What happens though is that, eventually, the reader goes away, i.e. closes the fifo. When that happens I get: ghc:

Re: [Haskell-cafe] Haddock fails on parsing Hamlet

2011-03-12 Thread David Waern
2011/3/12 Mathew de Detrich dete...@gmail.com: Don't need to worry about this, its being fixed in the next release of hamlet So was it a bug in Haddock that you've worked around or something else? Thanks, David ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Haddock fails on parsing Hamlet

2011-03-12 Thread Michael Snoyman
On Sun, Mar 13, 2011 at 9:47 AM, David Waern david.wa...@gmail.com wrote: 2011/3/12 Mathew de Detrich dete...@gmail.com: Don't need to worry about this, its being fixed in the next release of hamlet So was it a bug in Haddock that you've worked around or something else? Thanks, David I