Re: [Haskell-cafe] Functional GUIs again

2009-02-17 Thread Fraser Wilson
The current darcs version now mentions the 0.9.13 dependency. I don't see a nice way of supporting both 0.9.13 and 0.10.0, so I'll take the plunge and do a destructive upgrade. As you say, the new model/view is much nicer (and of course I shall be stealing liberally from it). cheers, Fraser.

Re: [Haskell-cafe] Functional GUIs again

2009-02-17 Thread Peter Verswyvelen
Okay, you used 0.9.13, that explains the errors yes, the model/view thing is different in 0.10.0 (better IMHO) Yes it would be nice if it worked with GTK2HS 0.10.0, but it might be tricky to support both version, I don't know. On Tue, Feb 17, 2009 at 12:51 AM, Fraser Wilson

[Haskell-cafe] Functional GUIs again

2009-02-16 Thread Fraser Wilson
Since I'm congenitally lazy, and writing a GUI by hand in the IO monad is ... not what I expect from a beautiful program, and because what I often need is a GUI that manipulates a state, and because I don't understand arrows, and having been intrigued by a recent cafe thread, I threw together a

Re: [Haskell-cafe] Functional GUIs again

2009-02-16 Thread Fraser Wilson
You must have missed the bit about congenitally lazy :-) Username requested ... cheers, Fraser. On Mon, Feb 16, 2009 at 8:10 PM, Lennart Augustsson lenn...@augustsson.netwrote: Put it on hackage! 2009/2/16 Fraser Wilson blancoli...@gmail.com: Since I'm congenitally lazy, and writing a

Re: [Haskell-cafe] Functional GUIs again

2009-02-16 Thread Fraser Wilson
Oh, cheers! Newtype deriving is more general than I expected. Thanks for the comment. I've requested a hackage account, so I expect it to be there shortly :-) cheers, Fraser. On Mon, Feb 16, 2009 at 9:12 PM, Ryan Ingram ryani.s...@gmail.com wrote: Tiny code-review comment: data Style =

Re: [Haskell-cafe] Functional GUIs again

2009-02-16 Thread Duncan Coutts
On Mon, 2009-02-16 at 20:30 +0100, Fraser Wilson wrote: You must have missed the bit about congenitally lazy :-) Username requested ... See http://hackage.haskell.org/packages/accounts.html All you need to do is email Ross and ask. Duncan ___

Re: [Haskell-cafe] Functional GUIs again

2009-02-16 Thread Fraser Wilson
Now that I re-read my email, it looks like I'm saying Username requested in the sense of OK, Cafe people, treat this as a user name request and step to it. What I meant was that I have requested a username (via the email), and once I have an account I'll put it on hackage. Sorry for the

Re: [Haskell-cafe] Functional GUIs again

2009-02-16 Thread Peter Verswyvelen
Hi Fraser, That's some great hacking you did :-) What version of GTK2HS did you use? I get various compiler errors when using the latest GTK2HS 0.10.0. Cheers, Peter 2009/2/16 Fraser Wilson blancoli...@gmail.com Now that I re-read my email, it looks like I'm saying Username requested in

Re: [Haskell-cafe] Functional GUIs again

2009-02-16 Thread Fraser Wilson
Hi Peter, Thanks! I haven't tried to compile with 0.10.0 but I can guess that the errors arise from the use of ListStore. I'm not sure what the best approach is here. Is 0.9.13 over now? If so, then I'll upgrade and fix it. For now it would certainly make sense to put the dependency into