Re: [Haskell-cafe] Genuine Need For Persistent Global State?

2009-10-17 Thread Alan Carter
On Fri, Oct 16, 2009 at 9:13 PM, Bryan O'Sullivan b...@serpentine.comwrote: You don't need anything special for this. A Linux kernel struct device has a void *driver_data member which is private for your use, and intended for precisely this purpose. Global persistent state makes no more sense

[Haskell-cafe] Genuine Need For Persistent Global State?

2009-10-16 Thread Alan Carter
Hi, I've been looking at the patches given by Tom at Beware the Jabberwolk, for building Linux kernel modules in Haskell. Once I'd got Tom's stuff building, the next thing was to build a little driver which actually does something. Step by step I was making progress, and I've now got a little

Re: [Haskell-cafe] Doubting Haskell

2008-03-03 Thread Alan Carter
Many thanks for the explanations when I was first experimenting with Haskell. I managed to finish translating a C++ wxWidgets program into Haskell wxHaskell, and am certainly impressed. I've written up some reflections on my newbie experience together with both versions, which might be helpful to

Re: [Haskell-cafe] Doubting Haskell

2008-02-20 Thread Alan Carter
Cale, On Feb 20, 2008 10:58 AM, Cale Gibbard [EMAIL PROTECTED] wrote: (I'm copying the list on this, since my reply contains a tutorial which might be of use to other beginners.) Thank you so much for this - I've just started playing with it so few intelligent responses yet. I'm sure it will

[Haskell-cafe] Doubting Haskell

2008-02-16 Thread Alan Carter
like: if((fp = fopen(...)) != NULL) { if(fgets(...) != NULL) { printf(...); } fclose(...) } Best wishes - and still hoping I'm wrong after all Alan Carter -- ... the PA system was moaning unctuously, like a lady hippopotamus reading A. E. Housman ... -- James