[Haskell-cafe] Re: [Haskell] ANN: Hipmunk 0.1 and HipmunkPlayground 0.1

2008-07-27 Thread Felipe Lessa
On Sun, Jul 27, 2008 at 12:34 AM, Felipe Lessa [EMAIL PROTECTED] wrote: On Sun, Jul 27, 2008 at 12:29 AM, Antoine Latter [EMAIL PROTECTED] wrote: I'm getting the following error trying to cabal-install HipmunkPlayground: [duplicate symbol _deRefStablePtr] Well, I guess this isn't a random

[Haskell-cafe] ANN: Yi 0.4.1

2008-07-27 Thread Jean-Philippe Bernardy
I'm very pleased to announce the 0.4.1 release of the Yi editor. == Yi == Yi is a text editor written and extensible in Haskell. The long-term goal of the Yi project is to provide the editor of choice for Haskell programmers. In the meantime, we have fun by hacking an editor in a decent language

[Haskell-cafe] library for zip compression?

2008-07-27 Thread John MacFarlane
Haskellers, Is there a library for compressing and uncompressing zip archives? I see zlib and bzlib on HackageDB, but unless I'm mistaken these won't help with a .zip archive. (See http://zlib.net/zlib_faq.html#faq11.) Any help here would be appreciated. John

Re: [HOpenGL] Re: [Haskell-cafe] Fw: patch applied (ghc): Remove the OpenGL familyof libraries fromextralibs

2008-07-27 Thread Christopher Lane Hinson
There is a section Projects using the OpenGL bindings (http://www.haskell.org/haskellwiki/OpenGL) on the wiki that is pretty bare. A quick search of HCAR lists five projects using OpenGL. --L On Sat, 26 Jul 2008, Jefferson Heard wrote: It would be nice to know, though, how many people are

[Haskell-cafe] Exceptions

2008-07-27 Thread Adrian Neumann
Hello, I think it'd be nice if the compiler could warn me if there are any exceptions which I'm not catching, similar to checked exceptions in Java. Does anyone know of a possibility to do that in Haskell? Adrian PGP.sig Description: Signierter Teil der Nachricht

Re: [Haskell-cafe] Exceptions

2008-07-27 Thread Krzysztof Skrzętnicki
I don't really think this is possible: consider asynchronous exceptions and throwTo. http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Exception.html#v%3AthrowTo Since it can throw just *any* exception into thread. And this thread might not be aware that anyone can throw him

Re: [Haskell-cafe] ANN: Yi 0.4.1

2008-07-27 Thread Paulo Tanimoto
Fantastic release, thank you! It's never been so easy to start playing with Yi. : ) Paulo On Sun, Jul 27, 2008 at 10:08 AM, Jean-Philippe Bernardy [EMAIL PROTECTED] wrote: I'm very pleased to announce the 0.4.1 release of the Yi editor. == Yi == Yi is a text editor written and extensible

Re: [Haskell-cafe] Exceptions

2008-07-27 Thread Don Stewart
aneumann: Hello, I think it'd be nice if the compiler could warn me if there are any exceptions which I'm not catching, similar to checked exceptions in Java. Does anyone know of a possibility to do that in Haskell? Adrian You could provide exception-safe wrappers for the functions

Re: [Haskell-cafe] Cabal files on Windows

2008-07-27 Thread Henk-Jan van Tuyl
On Sun, 27 Jul 2008 03:23:09 +0200, John Lato [EMAIL PROTECTED] wrote: Hello, Can anyone point me to a method for including path names with spaces in a cabal file? I would like to add a line similar to the following: include-dirs: C:\Program Files\program\include and of course a

Re: [Haskell-cafe] Cabal files on Windows

2008-07-27 Thread Duncan Coutts
On Sat, 2008-07-26 at 20:23 -0500, John Lato wrote: Hello, Can anyone point me to a method for including path names with spaces in a cabal file? I would like to add a line similar to the following: include-dirs: C:\Program Files\program\include and of course a corresponding library as

Re: [Haskell-cafe] ANN: Yi 0.4.1

2008-07-27 Thread Niklas Broberg
Hi Jean-Philippe, Using cabal install: cabal install yi-0.4.1 when I do this on my Windows machine, cabal-install tries to download the unix-2.3.0.0 package, which clearly won't work. How do I get yi to install on Windows? Cheers, /Niklas ___

Re: [Haskell-cafe] ANN: Yi 0.4.1

2008-07-27 Thread Don Stewart
jeanphilippe.bernardy: I'm very pleased to announce the 0.4.1 release of the Yi editor. == Yi == Yi is a text editor written and extensible in Haskell. The long-term goal of the Yi project is to provide the editor of choice for Haskell programmers. In the meantime, we have fun by hacking

[Haskell-cafe] Re: ANN: Yi 0.4.1

2008-07-27 Thread Jean-Philippe Bernardy
Niklas Broberg niklas.broberg at gmail.com writes: Hi Jean-Philippe, Using cabal install: cabal install yi-0.4.1 when I do this on my Windows machine, cabal-install tries to download the unix-2.3.0.0 package, which clearly won't work. How do I get yi to install on Windows?

[Haskell-cafe] Re: ANN: Yi 0.4.1

2008-07-27 Thread Jean-Philippe Bernardy
Don Stewart dons at galois.com writes: $ yi -f pango Launching custom yi: /home/dons/.yi/yi-x86_64-linux yi: exception :: System.Glib.GError.GError Anyone seen this? Consistently on x64. The pango stuff is generally unstable anyway. I'm not sure what's to blame. -- JP

Re[2]: [Haskell-cafe] Cabal files on Windows

2008-07-27 Thread Bulat Ziganshin
Hello Henk-Jan, Sunday, July 27, 2008, 11:36:32 PM, you wrote: Can anyone point me to a method for including path names with spaces in a cabal file? I would like to add a line similar to the following: Have you tried replacing Program Files with PROGRA~1? This is the old i don't followed

Re: [Haskell-cafe] Re: ANN: Yi 0.4.1

2008-07-27 Thread Niklas Broberg
Thanks, after installing gtk2hs and using the flags you told me I managed to install it just fine. However... $ yi -f pango Launching custom yi: /home/dons/.yi/yi-x86_64-linux yi: exception :: System.Glib.GError.GError Anyone seen this? Consistently on x64. The pango

[Haskell-cafe] Re: ANN: Yi 0.4.1

2008-07-27 Thread Jean-Philippe Bernardy
Niklas Broberg niklas.broberg at gmail.com writes: Thanks, after installing gtk2hs and using the flags you told me I managed to install it just fine. However... Good :) The pango stuff is generally unstable anyway. I'm not sure what's to blame. ... I got this error too, and I'm on

Re: [Haskell-cafe] Re: ANN: Yi 0.4.1

2008-07-27 Thread Niklas Broberg
The gtk frontend should not suffer from this: yi -fgtk C:\Documents and Settings\Niklas Brobergyi -fgtk yi: exception :: System.Glib.GError.GError :-( Cheers, /Niklas ps. If I installed it with -f-vty -fgtk, shouldn't gtk be the default when running? :-)

Re: [Haskell-cafe] ANN: Yi 0.4.1

2008-07-27 Thread stefan kersten
On Sun, Jul 27, 2008 at 03:08:04PM +, Jean-Philippe Bernardy wrote: I'm very pleased to announce the 0.4.1 release of the Yi editor. great, i can't wait to check it out ... i get the following error when installing via hackage/cabal (ghc 6.8.1, cabal 1.4.0.1): Yi/Buffer.hs:253:0: No

[Haskell-cafe] Re: ANN: Hayoo! beta 0.2

2008-07-27 Thread Ben Franksen
Timo B. Hübel wrote: we are pleased to announce the second beta release of Hayoo!, a Haskell API search engine providing advanced features like suggestions, find-as-you-type, fuzzy queries and much more. Visit Hayoo! here: http://holumbus.fh-wedel.de/hayoo The major change is the

Re: Re[2]: [Haskell-cafe] Cabal files on Windows

2008-07-27 Thread Duncan Coutts
On Mon, 2008-07-28 at 00:27 +0400, Bulat Ziganshin wrote: Hello Henk-Jan, Sunday, July 27, 2008, 11:36:32 PM, you wrote: Can anyone point me to a method for including path names with spaces in a cabal file? I would like to add a line similar to the following: Have you tried replacing

Re: [Haskell-cafe] Cabal files on Windows

2008-07-27 Thread John Lato
On Sun, Jul 27, 2008 at 3:25 PM, Duncan Coutts [EMAIL PROTECTED] wrote: On Sat, 2008-07-26 at 20:23 -0500, John Lato wrote: Hello, Can anyone point me to a method for including path names with spaces in a cabal file? I would like to add a line similar to the following: include-dirs:

[Haskell-cafe] Control.Concurrent.forkIO versus Control.Parallel.par

2008-07-27 Thread Mario Blažević
Hello. I have a question about parallel computation in Haskell. After browsing the GHC library documentation, I was left with impression that there are two separate mechanisms for expressing concurrency: Control.Parallel.par for pure computations and Control.Concurrent.forkIO for

[Haskell-cafe] multicore programming ...

2008-07-27 Thread Galchin, Vasili
Hello, I have written quite a bit of multi-threaded code in ANSI C and C++ using mainly Posix threads and some using Win32 API threads. IMO now seems to be a huge opportunity for FPLs to shine .. In any case, now there seems to be an emerging crisis in the computer industry in multithread

Re: [Haskell-cafe] Control.Concurrent.forkIO versus Control.Parallel.par

2008-07-27 Thread Sterling Clover
I think a better way to look at it is that Haskell has two separate mechanisms for different *notions* of concurrency -- forkIO for actual concurrent computation which needs explicit threads and communication (and within that, either semaphore-based communication with MVars or

Re: [Haskell-cafe] Control.Concurrent.forkIO versus Control.Parallel.par

2008-07-27 Thread Luke Palmer
On Mon, Jul 28, 2008 at 2:49 AM, Mario Blažević [EMAIL PROTECTED] wrote: parallelize :: m a - m b - m (a, b) parallelize ma mb = let a = ma = return b = mb = return in a `par` (b `pseq` liftM2 (,) a b) See Sterling's reply for an actual answer to your

Re: [Haskell-cafe] carry state around ....

2008-07-27 Thread Galchin, Vasili
Hi Duncan and Brandon, I am moving to the ForeignPtr strategy. However, I always try to learn from where I am before going to a new approach. I have discovered by debugging that the AIOCB peek is working; however, passing the peeked AIOCB back to the caller(i.e. the test program) is not