Re: Alternative (per-project) package database

2010-06-30 Thread Andres Loeh
-- 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

Re: GADT question

2005-10-10 Thread Andres Loeh
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

-odir behaviour change in 6.4.1?

2005-08-09 Thread Andres Loeh
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 $

Re: typechecking too eager?

2004-11-07 Thread Andres Loeh
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

Re: deriving...

2004-10-20 Thread Andres Loeh
| 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

Re: deriving...

2004-10-19 Thread Andres Loeh
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

Re: [wxhaskell-users] RE: [Haskell] Dynamically loading wxhaskell?

2004-04-14 Thread Andres Loeh
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

Re: ghc-6.2 compilation problems

2003-12-22 Thread Andres Loeh
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

Re: ANNOUNCE: GHC version 6.0

2003-06-02 Thread Andres Loeh
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