Re: [Haskell-cafe] Equivalent of if/then/else for IO Bool?

2006-11-23 Thread Luis F. Araujo
Dougal Stanton wrote: Is there some sort of equivalent of the if/then/else construct for use in the IO monad? For instance the following can get quite tedious: do bool - doesFileExist filename if bool then sth else sth' Is there a more compact way of writing that?

Re: [Haskell-cafe] Re: best Linux for GHC?

2006-11-13 Thread Luis F. Araujo
Alex Queiroz wrote: Hallo, On 11/13/06, Mark T.B. Carroll [EMAIL PROTECTED] wrote: How up to date will Debian unstable's GHC be kept, though? It seems pretty good at the moment, but there have been times when we've had to install from source instead of via Debian earlier this year so

Re: [Haskell-cafe] what GUI library should i select?

2006-11-13 Thread Luis F. Araujo
Iván Pérez Domínguez wrote: Neil Mitchell wrote: Hi Bulat, afaik, there are just two good enough libs - wxHaskell and GtkHs. can anyone point (or write) detailed comparison of their features? i plan to write large GUI program in Haskell and want to select best one. the

Re: [Haskell-cafe] what GUI library should i select?

2006-11-13 Thread Luis F. Araujo
Bulat Ziganshin wrote: third: are there any appetizers demonstrating features of each library and with source code available for studying? except for memory.pdf which don't mention where full source can be downloaded it will be interesting to see sources of more business-like applications

Re: [Haskell-cafe] Unicode strings

2006-11-05 Thread Luis F. Araujo
Pupeno wrote: Hello, I am trying to make a program that outputs some Unicode characters but the output doesn't match what I try to print. Attached is a little test program. It tries to print the arrows ←↑→↓ but instead it outputs \220\221\222\223 (that is, character number 220, then 221,

[Haskell-cafe] Haskell speaking Spanish

2006-10-05 Thread Luis F. Araujo
Hello Haskell folks! I have recently started editing a page on the Haskell.org wiki site dedicated to our spanish-speaker community.[0] The main idea is to collect spanish information about Haskell. For example, tutorials, news, comments, etc. And that way to spread such a beautiful language

Haddock issue

2005-02-11 Thread Luis F. Araujo
Hello everyone, I was getting the following error with 'make html' : /usr/bin/haddock -t Haskell Hierarchical Libraries (template-haskell package) -h -o html Language/Haskell/TH.raw-hs Language/Haskell/TH/Lib.raw-hs Language/Haskell/TH/Ppr.raw-hs Language/Haskell/TH/PprLib.raw-hs