Re: [Haskell-cafe] Serial Communications in Haskell

2007-09-08 Thread Ronald Guida
On 8/28/07, Ronald Guida wrote: I'm on a Windows box and I'm looking for a way to talk to a serial port (for example, RS-232) from Haskell. I couldn't find a library to do this, so I am wondering how to create one. I figured out FFI and marshaling, and I got my serial port to work in

Re: [Haskell-cafe] Hackage and GHC 6.8

2007-09-08 Thread Sven Panne
On Friday 07 September 2007 09:57, Neil Davies wrote: Given that GHC 6.8 is just around the corner and, given how it has re-organised the libraries so that the dependencies in many (most/all) the packages in the hackage DB are now not correct. Is there a plan of how to get hackage DB up to

Re: [Haskell-cafe] Hackage and GHC 6.8

2007-09-08 Thread Neil Mitchell
Hi Neil, Given that GHC 6.8 is just around the corner and, given how it has re-organised the libraries so that the dependencies in many (most/all) the packages in the hackage DB are now not correct. Is there a plan of how to get hackage DB up to speed with GHC 6.8 ? I think whatever we go

Re: [Haskell-cafe] Elevator pitch for Haskell.

2007-09-08 Thread Andrew Coppin
Dan Weston wrote: WARNING: Learning Haskell is dangerous to your health! Though cut with syntactic sugar to be more palatable to newbies, each Haskell construct is in fact a contagious mix of higher-order functions, lambda expressions, and partial applications, a highly addictive gateway

Re: [Haskell-cafe] Elevator pitch for Haskell.

2007-09-08 Thread Andrew Coppin
Michael Vanier wrote: Awesome! I'm reminded of the IRC post that said that Haskell is bad, it makes you hate other languages. How true it is... I've often thought about a sort of elevator pitch for Haskell. However, every time I sit down to think about this, I come to the same conclusion:

Re: [Haskell-cafe] Elevator pitch for Haskell.

2007-09-08 Thread Don Stewart
andrewcoppin: Michael Vanier wrote: Awesome! I'm reminded of the IRC post that said that Haskell is bad, it makes you hate other languages. How true it is... I've often thought about a sort of elevator pitch for Haskell. However, every time I sit down to think about this, I come to

Re: [Haskell-cafe] Elevator pitch for Haskell.

2007-09-08 Thread Neil Mitchell
Hi * Create sophisticated GUIs. Gtk2hs. Could do with a nice wrapper on that, but Conal is doing some interesting stuff, and I've got PropLang on the back burner. People are thinking the right thoughts, it just needs time. * Read and write standard binary file formats. (Images, compressed

Re: [Haskell-cafe] Elevator pitch for Haskell.

2007-09-08 Thread Stefan O'Rear
On Sat, Sep 08, 2007 at 05:44:47PM +0100, Neil Mitchell wrote: I'd like to think that Haskell will soon be ready for prime-time. But let's face it, the language is 20 years old already... Most of your problems are lack of libraries. We've had Cabal in mainstream for maybe a year, hackage

Re[2]: [Haskell-cafe] Elevator pitch for Haskell.

2007-09-08 Thread Bulat Ziganshin
Hello Andrew, Saturday, September 8, 2007, 8:36:06 PM, you wrote: * Access the Windoze registry and play with COM stuff. * Get system-specific file information (protection bits, modification times, security information, etc.) * Query the OS. (How many CPUs? How much RAM? What is my IP

Re: [Haskell-cafe] Elevator pitch for Haskell.

2007-09-08 Thread Andrew Coppin
Neil Mitchell wrote: * Read and write standard binary file formats. (Images, compressed files, etc.) Data.Binary is the low level frameworks, now people can pick up the rest. Last time I checked, there's about half a dozen binary packages. All incompatible. All with different

Re: [Haskell-cafe] Elevator pitch for Haskell.

2007-09-08 Thread Andrew Coppin
Stefan O'Rear wrote: I'd like to add that, until very recently, Haskell wasn't even *trying* to be ready for prime time. It takes an athlete many years to get from the cradle to the finish line, but that's not how we score them! Ah yes - avoid success at all costs. Pitty... I really love

Re: [Haskell-cafe] Elevator pitch for Haskell.

2007-09-08 Thread Neil Mitchell
Hi Data.Binary is the low level frameworks, now people can pick up the rest. Last time I checked, there's about half a dozen binary packages. All incompatible. All with different design. Seriously not obvious which one to use... Data.Binary is the answer,

Re: [Haskell-cafe] Installation of GLUT package

2007-09-08 Thread Ronald Guida
Update: I downloaded MinGW and MSYS and tried to install the GLUT library. I just can't get the thing to work, and I feel like I'm sitting in my own little section of Hell. I have tried everything I could think of so far, and it still doesn't work. Today I tried to sanitize my machine and

Re: [Haskell-cafe] Hackage and GHC 6.8

2007-09-08 Thread Duncan Coutts
On Sat, 2007-09-08 at 14:50 +0100, Neil Mitchell wrote: Hi Neil, Given that GHC 6.8 is just around the corner and, given how it has re-organised the libraries so that the dependencies in many (most/all) the packages in the hackage DB are now not correct. Is there a plan of how to get

[Haskell-cafe] ((a - b) - c) - (a - m b) - m c

2007-09-08 Thread Stuart Cook
(Inspired by this[1] reddit thread.) When combining monadic and non-monadic code, I've often wished for a magical combinator of type (Monad m) = ((a - b) - c) - (a - m b) - m c which would let me inject a monadic function into a pure one, then wrap the ultimate result to ensure that no

Re: [Haskell-cafe] Installation of GLUT package

2007-09-08 Thread Paul L
I believe it's caused by the different versions of GLUT you have. On 9/8/07, Ronald Guida [EMAIL PROTECTED] wrote: [...] Loading package OpenGL-2.2.1 ... linking ... done. Loading package GLUT-2.1.1 ... linking ... done. The above message was after you have installed GLUT-2.0, but GHC was

Re: [Haskell-cafe] Installation of GLUT package

2007-09-08 Thread Ronald Guida
Paul L wrote: I believe it's caused by the different versions of GLUT you have. On 9/8/07, Ronald Guida [EMAIL PROTECTED] wrote: [...] Loading package OpenGL-2.2.1 ... linking ... done. Loading package GLUT-2.1.1 ... linking ... done. The above message was after you have installed

[Haskell-cafe] Cofunctor as a name

2007-09-08 Thread Conal Elliott
I've heard contravariant functors referred to as cofunctors, and I've also heard objections to that term. As I'm preparing to release some libraries using contravariant functors, I'd appreciate hearing preferences and/or reasons. For instance, another name would be Contrafunctor. -- |