[EMAIL PROTECTED] writes:
ghc-4 does not allow what ghc-3.02 did:
...
instance Ring a = LeftModule a a where cMul = mul
ghc-4 says
Illegal instance declaration for `LeftModule a a'
(There must be at least one non-type-variable in the instance head)
If Haskell-2
Graeme E Moss [EMAIL PROTECTED] writes:
In the on-line documentation for Green Card at:
http://www.dcs.gla.ac.uk/fp/software/green-card/users-guide-9.html
there is the following option for invoking green-card:
--gc-safe
Generates code that can use callbacks to Haskell (GHC
Marc van Dongen [EMAIL PROTECTED] writes:
Dear all,
Hopefully somebody can help me out with this.
I am looking for the file where the low level primops
for operations on Integers are defined. I've had a look
in Primops.h but that only includes cmpInteger# and a few
friends. Where
Hi,
have a look at the documentation for the IO library and
its Handle buffering operations. To turn off the buffering
of input, try doing something like the following,
main =
hSetBuffering stdin Nobuffering getChar = putChar
Strictly speaking, Hugs is in the wrong here, but there's
good
Frank A. Christoph [mailto:[EMAIL PROTECTED]] writes:
First, a CVS question. I am a real CVS novice so bear with me.
I finally managed to use CVS to get the current 4.02 GHC
distribution (and to compile it! :). Now, I understand how
one can create recursive diffs between versions,
Frank A. Christoph writes:
...
I tried "cvs diff" from the fptools/ghc, but it doesn't seem
to work for me. I get a series of messages:
cvs server: Diffing .
cvs server: Diffing compiler
cvs server: Diffing compiler/absCSyn
...
but no diffs. Having done that, I wondered if
Alex Ferguson [EMAIL PROTECTED] writes:
...
Here's our convention for splitting up the interface file
name space:
d...dictionary identifiers
(local variables, so no name-clash worries)
Hrm. So, whence the trailing 0's? They all seem to be
Have a look at the Util module in '-syslib misc', it provides
a variety of sorting algorithms, including said merge sort.
If you want others, check out Ralf Hinze's pages at
http://www.informatik.uni-bonn.de/~ralf/
--Sigbjorn
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] writes:
Carl
[EMAIL PROTECTED] writes:
To my
Indeed, i voice for the merge sort ...
Sigbjorn Finne [EMAIL PROTECTED] writes
Have a look at the Util module in '-syslib misc', it provides
a variety of sorting algorithms, including said merge sort.
If you want others, check out Ralf
Martin Stein [EMAIL PROTECTED] writes:
..
Yes, I tried to use them but missed some functions to handle
ByteArrays, particularly
1. How can I get a ByteArray? (freezing a MutableByteArray
seems to be a little strange)
Strange as it might be, but that's the way :)If you want to
hide
Sven Panne [mailto:[EMAIL PROTECTED]] writes:
"Sigbjorn Finne (Intl Vendor)" wrote:
Sven Panne wrote:
What's wrong with using Green Card? Its %enum generates
the desired mappings automatically and consistently. AFAIK,
this type safety is something even IDL compiler
Sven Panne [EMAIL PROTECTED] writes:
[...]
Aaaah! *lights going on* But then I suggest that foreign export
dynamic should be changed to return a stable pointer instead
of an Addr. This shouldn't break too much code, because both
are CCallable.
I don't see the need, since (deep
George Russell [EMAIL PROTECTED] writes:
"Sigbjorn Finne (Intl Vendor)" wrote:
Is it worth adding something like `yield' to the Concurrent
API? I'm unconvinced, but don't feel strongly about it. If
there are others that also think that it should be supported,
let me know
Hi,
not a stupid question, just a stupid bug in 4.03 ;-)
This has been fixed in the patch available from the
ghc-win32 web page, http://www.dcs.gla.ac.uk/~sof/ghc-win32.html
http://www.dcs.gla.ac.uk/~sof/ghc-win32.html
hth
--sigbjorn
-Original Message-
From: felix [mailto:[EMAIL
I think you're asking whether POSIX types should
be given a type/synonym on the Haskell side. The
Posix library does define some of them, but not
all - e.g., size_t isn't.
I'm sure patches which extended that library so as
to have these would be welcomed by the GHC developers.
--sigbjorn
Simon Marlow [EMAIL PROTECTED] writes:
Sergey:
One small correction:
The sed script should be:
sed -e 's/.*\/\([^\/][^\/]*\)\.hs/$(E)\/\1.o, $(E)\/\1.hi/'
Of course:
:g/.*\/\([^\/][^\/]*\)\.hs/s//$(E)\/\1.o, $(E)\/\1.hi/
in vi should also work.
-odir blah
16 matches
Mail list logo