RE: Readline version

2001-10-29 Thread Simon Marlow
I've been having a bit of trouble compiling ghc5.02 from source on Solaris 2.6. The problem is that it can't find readline/readline.h which is not in a standard place since I had to compile readline myself. I've been messing around with various environment variables and

RE: ghc --make feature request

2001-10-29 Thread Simon Marlow
Simon Marlow [EMAIL PROTECTED] writes: GHC actually has rather sophisticated recompilation checking which goes beyond just checking whether the interface changed - it keeps version information for each entity exported by a module and only recompiles if any of the entities actually used

RE: GHC Installation Location

2001-10-29 Thread Simon Marlow
On Thu, Oct 25, 2001 at 03:18:33 -0700, Ashley Yakeley wrote: At 2001-10-25 03:01, Simon Marlow wrote: I've wondered at various times in the past whether there ought to be a link from /usr/local/includes/ghc to /usr/local/lib/ghc-5.02/includes. Won't help, my GHC is installed

RE: [nhc-bugs] confhc does not recognize ghc 5.*

2001-10-29 Thread Simon Marlow
Here is the essential part of the patch: - GHCDIR=`grep '^libdir' ${whichGHC} | head -1 | sed 's/^libdir=.\(.*\)./\1/'` + GHCDIR=`grep '^TOPDIROPT' ${whichGHC} | head -1 | sed 's/^TOPDIROPT=*-B\([^;]*\).*/\1/'` However, this does not work on my (Slackware Linux) machine. In

First class modules (was Existential Typing)

2001-10-29 Thread Leon Smith
On Wednesday 24 October 2001 12:32, Simon Peyton-Jones wrote: The elimination of stupid existential wrapper constructors is discussed in a bit more detail in the paper Mark and I wrote recently: First class modules for Haskell

RE: ghc compiled program crashes

2001-10-29 Thread Simon Marlow
from time to time ghc compiled programs simply crash on my windows2000 without any meaningfull error message. I guess this has something to do with storage management (I vaguely remember having read something about errors durcing gc on this list, but did not find the corresponding posts in

test

2001-10-29 Thread exa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 test! - -- Eray Ozkural (exa) [EMAIL PROTECTED] Comp. Sci. Dept., Bilkent University, Ankara www: http://www.cs.bilkent.edu.tr/~erayo GPG public key fingerprint: 360C 852F 88B0 A745 F31B EA0F 7C07 AE16 874D 539C -BEGIN PGP SIGNATURE-

RE: ghc --make feature request

2001-10-29 Thread Simon Marlow
Simon Marlow [EMAIL PROTECTED] writes: GHC actually has rather sophisticated recompilation checking which goes beyond just checking whether the interface changed - it keeps version information for each entity exported by a module and only recompiles if any of the entities actually used

RE: gtk+hs and libgmp

2001-10-29 Thread Gérard Milmeister
On Mon, 2001-10-29 at 20:24, Gérard Milmeister wrote: n.b. I send the message only to you, not to the mailing list because of the attachments. Ooops... -- Gérard Milmeister Tannenrauchstr. 35 8038 Zürich [EMAIL PROTECTED] ___

Re: GHCi -- thanks ghc team !

2001-10-29 Thread Eray Ozkural (exa)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 27 October 2001 16:36, Ronald Legere wrote: OK, I admit it. I didnt play with GHCi at all when it was first available ... because I was on windows... but I have started to play with it a bit with the latest installer... and let me

Re: GHCi -- thanks ghc team !

2001-10-29 Thread Jon Fairbairn
Eray Ozkural wrote: I have difficulty using GHCi because I can't define functions interactively. Would it be possible to introduce a mode to do that? You can do this: Loading package std ... linking ... done. Prelude let f x = 1+x Prelude f 2 3 Prelude let {g 1 = 1; g n = n-1} Prelude g 1

Re: interpreter features

2001-10-29 Thread Johannes Waldmann
ButPrelude let {type T = Int; n = 1 :: T} does not. yes, local type declarations would be nice (not just for ghci) but that requires serious design work (in the type and module system). See the recent paper on first class modules posted here. I would like too Haskell to behave

Re: interpreter features

2001-10-29 Thread Eray Ozkural (exa)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 30 October 2001 09:08, Johannes Waldmann wrote: ButPrelude let {type T = Int; n = 1 :: T} does not. yes, local type declarations would be nice (not just for ghci) but that requires serious design work (in the type and