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
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
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
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
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
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
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.
(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 ::
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<-
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
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
11 matches
Mail list logo