[Haskell-cafe] Re: [Gtk2hs-users] ANN: Gtk2HS 0.10.1 released

2009-05-12 Thread Peter Gavin
On Sun, May 10, 2009 at 11:52 AM, Bulat Ziganshin bulat.zigans...@gmail.com wrote: Hello Peter, Sunday, May 10, 2009, 7:43:38 PM, you wrote: I'd like to announce the release of Gtk2HS 0.10.1!  This release includes mostly bug fixes and other small improvements. Most notably, GHC 6.10.1 is

[Haskell-cafe] ANN: Gtk2HS 0.10.1 released

2009-05-10 Thread Peter Gavin
Hi everyone, I'd like to announce the release of Gtk2HS 0.10.1! This release includes mostly bug fixes and other small improvements. Most notably, GHC 6.10.1 is now supported. The source tarball may be downloaded from: http://sourceforge.net/project/showfiles.php?group_id=49207package_id=42440

[Haskell-cafe] Gtk2HS 0.10.0 Released

2009-02-10 Thread Peter Gavin
/showfiles.php?group_id=49207package_id=42440release_id=659598 Thanks to everyone who submitted bug fixes and features this time around! Thanks, Peter Gavin Gtk2HS Release Manager ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] hackage, gtk2hs

2009-01-01 Thread Peter Gavin
Cetin Sert wrote: Hi, A package I want to upload only builds with the unreleased gtk2hs version from the darcs repository and not the latest released version 0.9.13 or any lesser. But the repository version seems to not have changed, so if I say in my cabal file: gtk = 0.9.14 it does not

Re: [Haskell-cafe] Why 'round' does not just round numbers ?

2008-10-27 Thread Peter Gavin
L.Guo wrote: Hi all: I just read about definitions of Prelude [1], and noticing that. In 6.4.6 Coercions and Component Extraction, it discribes like this: round x returns the nearest integer to x, the even integer if x is equidistant between two integers. I think this is unresonable.

Re: [Haskell-cafe] Re: Arrow without `'

2008-09-02 Thread Peter Gavin
Valery V. Vorotyntsev wrote: On 1/23/08, David Menendez [EMAIL PROTECTED] wrote: On Jan 23, 2008 12:20 PM, Valery V. Vorotyntsev [EMAIL PROTECTED] wrote: I've built GHC from darcs, and... Could anybody tell me, what's the purpose of Arrow[1] not having `' method? It's derived from the

[Haskell-cafe] Space leaks

2008-07-17 Thread Peter Gavin
like I've just about run out of options, though. Does anyone have any advice on tracking down space leaks? I don't want to accuse GHC of having a bug just yet, but has GHC had space leak bugs in the past? Thanks in advance, Peter Gavin [EMAIL PROTECTED

Re: [Haskell-cafe] Space leaks

2008-07-17 Thread Peter Gavin
Palmer [EMAIL PROTECTED] wrote: On Thu, Jul 17, 2008 at 12:14 PM, Peter Gavin [EMAIL PROTECTED] wrote: Hello everyone, I have this piece of code I've been working on, and I've been stuck on tracking down a space leak in it for some time now. The code is essentially a tight loop that updates

Re: [Haskell-cafe] Space leaks

2008-07-17 Thread Peter Gavin
? Is there something special about the = and return operators for IO that aren't true for other monads? Thanks, Pete Peter Gavin wrote: Thanks for the responses. This is basically what I've got looks like (grossly simplified): data Monad m = Foo m a b = Foo { action :: m (Foo m a b, b

Re: [Haskell-cafe] Re: ANN: Gtk2Hs 0.9.13 released

2008-07-07 Thread Peter Gavin
Ashley Yakeley wrote: Peter Gavin wrote: Gtk2Hs version 0.9.13 is now available. [1] New features: * bindings for Gnome VFS and GStreamer Is this bindings for the new GIO/GVFS stuff? No, its for the old GnomeVFS binding. I may get around to the binding the new one, unless someone

[Haskell-cafe] Re: [Gtk2hs-users] ANN: Gtk2Hs 0.9.13 released

2008-07-07 Thread Peter Gavin
functions always print the error message (even on success), but behave correctly otherwise. It looks like the second problem is a GHC bug, since there isn't anything special about our library (that I can think of) that might cause that to happen. Pete Peter Gavin wrote: Hello everyone, Gtk2Hs

[Haskell-cafe] ANN: Gtk2Hs 0.9.13 released

2008-06-27 Thread Peter Gavin
Hello everyone, Gtk2Hs version 0.9.13 is now available. [1] New features: * bindings for Gnome VFS and GStreamer * a new Gtk+ tutorial has been adapted by Hans van Thiel * cairo image stride support * many new demos * compiles with GHC 6.8.3 * lots of bug fixes This

[Haskell-cafe] Re: type-level integers using type families

2008-05-31 Thread Peter Gavin
Benedikt Huber wrote: data True data False type family Cond x y z type instance Cond True y z = y type instance Cond False y z = z I'm not sure if this is what you had in mind, but I also found that e.g. type instance Mod x y = Cond (y :: x) x (Mod (Sub x y) y) won't terminate, as

[Haskell-cafe] Re: type-level integers using type families

2008-05-31 Thread Peter Gavin
Replying to myself... I put a copy of the darcs repo at http://code.haskell.org/~pgavin/tfp, if anyone is interested. Pete Peter Gavin wrote: Has anyone else tried implementing type-level integers using type families? I tried using a couple of other type level arithmetic libraries

[Haskell-cafe] type-level integers using type families

2008-05-28 Thread Peter Gavin
Has anyone else tried implementing type-level integers using type families? I tried using a couple of other type level arithmetic libraries (including type-level on Hackage) and they felt a bit clumsy to use. I started looking at type families and realized I could pretty much build an entire