We are pleased to announce the new release 1.02 of nhc98, a compiler
for Haskell'98, written in Haskell'98.
http://www.cs.york.ac.uk/fp/nhc98/
It is available as a source package (which can be built via ghc, hbc,
an existing nhc98 installation, or simply with a C compiler if you
don't
Mark Utting wrote:
Summary: Haskell layout has problems within 'do' (see below).
Can we change Haskell to improve it?
I don't think the language has to be changed. It seems to me that the
problems is more with the idea of editing the source code as plain text.
Ideally, I would like
Thu, 15 Feb 2001 15:20:19 +1300, Mark Utting [EMAIL PROTECTED] pisze:
fb::IO ()
fb =
do {
putStr "Enter Data: ";
line - getLine;
let line2 = line;
putStr line2;
}
I have a different proposal. Let's drop the 'let' keyword in value
bindings in a
Hi Simon,
Having tried to build 'happy' with the version of GHC I have and having
discovered the GHC system libraries also depend on JMP_, I'm inclined to
think the only "safe" solution is to keep the "if". I can think of no
solution to this; other than enforcing a linking method since without a
I just installed ghc-4.08.2 on a WinNT system.
When I compile Hello World with -O or -prof -auto-all ghc misses a lot of *.h
files (see attached log files).
Note to those who didn't see the attachments: all the missing includes are
from the standard C library.
What can I do?
Set your
The problem is indeed that the wrong __init_Foo is being passed to
startupHaskell.
The Haskell part of your program consists of two modules, Convert and
ConvertProxy (the latter is generated by H/Direct). ConvertProxy
imports Convert, and is therefore the "topmost" module in the program.
To fix
The problem is indeed that the wrong __init_Foo is being passed to
startupHaskell.
No, that's not it. I've been able to repro this with __init_ConvertProxy
too - did you test it? (This is with 4.08.1 on a Win2k box.)
--sigbjorn
___
Hi Andy,
I don't have access to the HP box I built the binaries on at the moment,
so unfortunately I can't investigate right now. Your analysis looks
sound, but like you I'm mystified why we're only now discovering the
problem. Here's one clue: we always pass -static to the C compiler (but
not
The problem is indeed that the wrong __init_Foo is being passed to
startupHaskell.
No, that's not it. I've been able to repro this with
__init_ConvertProxy
too - did you test it? (This is with 4.08.1 on a Win2k box.)
Yes, I did, and was able to demonstrate a crash which went away when
In the installation instruction is under 2.2.2.1 paragraph "Here's how to
install Cygwin" written:
After installation, start up a Cygwin shell and issue the following
command:
mount -f c: /
assuming you installed Cygwin at C:\cygwin; otherwise change the drive
and
12 Feb 2001 14:48:09 GMT, Marcin 'Qrczak' Kowalczyk [EMAIL PROTECTED] pisze:
It could be my fault: I ran ./configure before updating it with
autoconf, and perhaps did not clean afterwards.
Ok, it was my fault. But the error in CInfo is still there. And
C2HS does not export most of cast*Ptr
I installed ghc 4.08.2 binaries for sparc solaris (and those for intel
linux, too), then tried compiling a sample program (the fibonacci one
in the user guide) with ghc -parallel. The compiler complained:
Could not find interface file for `Prelude'
in the directories ./*.hi
On Wed, Feb 14, 2001 at 08:10:39AM -0800, Andrew Kennedy wrote:
To be frank, the poster that you cite doesn't know what he's talking
about. He makes two elementary mistakes:
Quite right, I didn't know what I was talking about. I still don't.
But I do hope to learn.
(a) attempting to encode
Tue, 13 Feb 2001 18:32:21 -0500, Dylan Thurston [EMAIL PROTECTED] pisze:
Here's a revision of the numerical prelude.
I like it!
class (Real a, Floating a) = RealFrac a where
-- lifted directly from Haskell 98 Prelude
properFraction :: (Integral b) = a - (b,a)
truncate, round
On Wed, Feb 14, 2001 at 09:53:16PM +, Marcin 'Qrczak' Kowalczyk wrote:
Tue, 13 Feb 2001 18:32:21 -0500, Dylan Thurston [EMAIL PROTECTED] pisze:
Here's a revision of the numerical prelude.
I like it!
I'd like to start using something like this in my programs. What are
the chances that
| On Mon, Feb 12, 2001 at 02:38:25PM -0800, William Lee Irwin III wrote:
| I had in mind looking within the compiler, actually. Where in the
| compiler? It's a big program, it might take me a while to do an
| uninformed search. I've peeked around a little bit and not gotten
| anywhere.
|
|
Marcin 'Qrczak' Kowalczyk wrote:
I'm afraid of making too many small classes. But it would perhaps be not
so bad if one could define superclass' methods in subclasses, so that one
can forget about exact structure of classes and treat a bunch of classes
as a single class if he wishes. It
Wed, 14 Feb 2001 23:27:55 -0600, Matt Harden [EMAIL PROTECTED] pisze:
I also wonder: should one be allowed to create new superclasses of an
existing class without updating the original class's definition?
It would not buy anything. You could not make use of the superclass
in default
18 matches
Mail list logo