--
Andres Loeh, Universiteit Utrecht
mailto:and...@cs.uu.nl mailto:m...@andres-loeh.de
http://www.andres-loeh.de
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
I get an error No instance for (Fractional a) arising from the use of
'/' This seems odd to me, since Div is constrained to have
fractional arguments. Is there something obvious I'm missing?
Unless GADTs are handled specially, and I don't think they are in this
case, this problem is
Is this change in behaviour between ghc-6.4 and ghc-6.4.1 desired:
~/trans $ ls foo
foo.c
~/trans $ ghc-6.4 -odir foo -c foo/foo.c
~/trans $ ls foo
foo.c foo.o
~/trans $ rm foo/foo.o
~/trans $ ls foo
foo.c
~/trans $ ghc-6.4.1.20050804 -odir foo -c foo/foo.c
~/trans $ ls foo
foo foo.c
~/trans $
Hi there,
The following code should compile (If the constructor
is valid, so is the function):
data Test = Test (forall a . a)
test a = Test a
However this fails to compile with the following error:
The current implementation of rank-n polymorphism
(which is documented in the paper
| Why not even simply
|
| instance Typeable (T a)
|
| In other words, derivable classes define default
| implementations for all their methods.
But that has an existing meaning! It means use the default methods for
all methods of the class. Which is not the same as derive all
Simon Peyton-Jones wrote:
derive( Typeable (T a) )
But that means adding 'derive' as a keyword. Other possibilities:
deriving( Typeable (T a) )
-- (B) Re-use 'deriving' keyword
The trouble with (B) is that the thing inside the parens is different in
this situation than in
That is probably the problem. I did not see all messages of this thread,
but one should indeed use --with-opengl on wxHaskell configure if
wxWidgets
was build with --with-opengl.
Unfortunately, due to wxWidgets changes, I can not automatically detect the
need for this flag, but I promise
The build output is like so:
[snip]
Fail: does not exist
Action: openFileEx
Reason: No such file or directory
File: base/base.haddock
Hmmm. It's possible the gentoo ebuild is trying to 'make install-docs'
without building the docs in the first place.
This has indeed been the
Hmm. Perhaps you should rename the long form of -L to
--list-local-packages.
Just a small note: This was a buglet in System.Console.GetOpt.getOpt,
which has been fixed since GHC 5.04.3. Consequently this does not
happen if you use a GHC = 5.04.3 for compiling GHC 6.0. But to be