Re: planning for ghc-6.10.1 and hackage

2008-10-03 Thread Juan Carlos Arevalo Baeza
How can you _reasonably_ put in a high bound if future versions of a library (which might, or even most likely, work with yours) aren't know at the time the limit is put in place? Basically, if you want certainty, >= must be deprecated or eliminated altogether, and the only reasonable thing i

Re: ANNOUNCE: GHC 6.10.1 beta

2008-09-27 Thread Juan Carlos Arevalo Baeza
Two regressions with Template Haskell on Windows: --- {-# LANGUAGE TemplateHaskell #-} module MkData where import Language.Haskell.TH import Language.Haskell.TH.Syntax op a b = a + b decl = [d| func = 0 `op` 3 |] --- This gives a very weird error: C:\Users\JCAB\Haskell\THTest>ghc --make

Re: GHC 6.6 using stale stub.c files

2006-10-24 Thread Juan Carlos Arevalo Baeza
Simon Marlow wrote: Juan Carlos Arevalo Baeza wrote: Simon Marlow wrote: Juan Carlos Arevalo Baeza wrote: I tried recompiling a little (big?) Win32 binding library I had made, when the official one wasn't working for me. It had a bunch of generated stubs files in it (I'm not

Re: moving to ghc-6.6

2006-10-23 Thread Juan Carlos Arevalo Baeza
Another one: library change: the HasBounds class is gone. JCAB Johannes Waldmann wrote: Hello. I just move a larger project to ghc-6.6 (from 6.4) http://dfa.imn.htwk-leipzig.de/auto/ (ca. 1000 modules) I had to modify my sources in several places. Perhaps the following list of observations

Re: GHC 6.6 using stale stub.c files

2006-10-23 Thread Juan Carlos Arevalo Baeza
Simon Marlow wrote: Juan Carlos Arevalo Baeza wrote: I tried recompiling a little (big?) Win32 binding library I had made, when the official one wasn't working for me. It had a bunch of generated stubs files in it (I'm not 100% sure what they are for). The problem is that, not

GHC 6.6 using stale stub.c files

2006-10-22 Thread Juan Carlos Arevalo Baeza
I tried recompiling a little (big?) Win32 binding library I had made, when the official one wasn't working for me. It had a bunch of generated stubs files in it (I'm not 100% sure what they are for). The problem is that, not even with -fforce-recomp (much better name, thanx!) will GHC regener

Re: Automatically derived instances

2005-08-28 Thread Juan Carlos Arevalo Baeza
David Menendez wrote: Juan Carlos Arevalo Baeza writes: The way Haskell type classes work, the overlap is determined without looking at the context, so "Show a" will overlap with every possible instance for Show, including Show Int, which is predefined. Ah. :-P Bummer.

Automatically derived instances

2005-08-28 Thread Juan Carlos Arevalo Baeza
(BCC'ing the GHC bugs list) It seems like there's something very funky going on with GHC (6.4) and automatically deriving instances. Consider this code: ---8<-- 1: class MyClass a 2: 3:instance MyClass a => Show a 4: 5:newtype Type1 = Type1 { unType1 ::

Re: Making Windows executables...

2005-08-27 Thread Juan Carlos Arevalo Baeza
Seth Kurtzberg wrote: Juan Carlos Arevalo Baeza wrote: Thanx! That's exactly what I needed. The swhich was undocumented! :-P :-) I understand the caveats well enough. You can avoid the exceptions very easily using this code: ---8<-

Re: Making Windows executables...

2005-08-27 Thread Juan Carlos Arevalo Baeza
i or something such) and somehow setting the standard handles like above when it's invoked. JCAB Duncan Coutts wrote: On Sat, 2005-08-27 at 13:42 -0700, Juan Carlos Arevalo Baeza wrote: When compiling a haskell program under Windows, is there any way to compile it as a GUI program i

Making Windows executables...

2005-08-27 Thread Juan Carlos Arevalo Baeza
When compiling a haskell program under Windows, is there any way to compile it as a GUI program instead of a console program? JCAB ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasg