Hi Benny,
instance (Float a) = Num (Poly a) where
x + y = addPoly x y
I got the Cannot use type synonym in instance head error message when I
was trying to
compile the above code. Can you tell me why and how to solve it?
Unfortunately, you can not instantiate a class
Dear fellow Haskeller,
it is time again - for contributions to the second edition of the
Haskell Communities and Activities Report
http://www.haskell.org/communities/
The current plan is to get contributions in by the end of April,
and to get the collective report out early next month
Hello, [EMAIL PROTECTED],As seen on NBC, CBS, CNN, and even Oprah!
The health discovery that actually reverses aging while burning
fat, without dieting or exercise! This proven discovery has
even been reported on by the New England Journal of Medicine.
Forget aging and dieting
GHC (even without -fglasgow-exts) rejects the following:
newtype Foo a = Foo a
instance Eq a = Eq (Foo a) where
Foo x == Foo y = bar
where bar :: a
bar = undefined
It seems to treat the inner a as bound
On Mon, 15 Apr 2002, Ross Paterson wrote:
GHC (even without -fglasgow-exts) rejects the following:
newtype Foo a = Foo a
instance Eq a = Eq (Foo a) where
Foo x == Foo y = bar
where bar :: a
bar = undefined
On Mon, 15 Apr 2002, Jay Cox wrote:
class Eq z where
(==) :: z - z - Bool
Oops. Here to report a Jay.Brain bug. I understand you now.
Heh. I infered the bug you report was standard haskell usage.
Here's a more dramatic example of your bug :)
Hi,
In my program I observe that, with -O2 flag turned on, Program 1 behaves
like Program 2. And without O2, their outputs are different.
Is it the desirable behaviour? For my program, I did not expect the
optimizer to do this transformation.
Thanks,
Saswat
Program 1:
eval = \..-
Here are some new patches for GHC for MacOS X.
The patches are relative to the CVS HEAD from 9th of April.
I also have prepared a binary snapshot [a double-clickable installer
package this time], but as last time, I don't have the webspace to
upload it myself - I'd be happy to FTP it wherever
Can you stop ghc-pkg complaining when it can't find the library for a package,
and insert the package into its configuration file? Some of my scripts rely
on being able to build the package.conf file ahead of time.
What with this, and because ghc-pkg doesn't seem able to cope with private
Formerly .hi and .hi-boot files had the same format; however ghc5.03 has a binary
format for
.hi files and a textual one for .hi-boot files. This is a nuisance for me, because I
have an
ingenious scheme by which .hi-boot files are themselves from Haskell files by ghc,
which thinks
it is
What does it mean when my program tells me:
fatal error: RTS exhausted max heap size (268435456 bytes)
?
My initial understanding was the GHC allocated (perhaps dynamically) a
heap of unlimited size (at least so says +RTS -help) and when I run my
(long memory grabbing) program without any
Have a look the the -M RTS option (default is 256M
on Win32, not unlimited.)
--sigbjorn
- Original Message -
From: Hal Daume III [EMAIL PROTECTED]
To: GHC Users Mailing List [EMAIL PROTECTED]
Sent: Monday, April 15, 2002 08:04
Subject: max heap exhausted
What does it mean when my
Brian Tawney [EMAIL PROTECTED] writes:
REQUEST FOR ASSISTANCE- STRICTLY CONFIDENTIAL
This is a common scam.
It is also a common spam. How about closing the list for
non-subscribers?
-kzm
--
If I haven't seen further, it is by standing in the footprints of giants
Ketil Z. Malde:
Brian Tawney [EMAIL PROTECTED] writes:
REQUEST FOR ASSISTANCE- STRICTLY CONFIDENTIAL
This is a common scam.
It is also a common spam. How about closing the list for
non-subscribers?
Please, be positive!
DR DAN MOMOH:
I amDR. DAN MOMOH, an accountant in the
14 matches
Mail list logo