GHC 5.02.3, SuSE rpms

2002-04-09 Thread Ralf Hinze
I've uploaded SuSE 7.3 rpms for the patchlevel release of the Glasgow Haskell Compiler (GHC), version 5.02.3. http://www.informatik.uni-bonn.de/~ralf/ghc-5.02.3-1.src.rpm http://www.informatik.uni-bonn.de/~ralf/ghc-5.02.3-1.i386.rpm

RE: GHC 5.02.3, SuSE rpms

2002-04-09 Thread Simon Marlow
I've uploaded SuSE 7.3 rpms for the patchlevel release of the Glasgow Haskell Compiler (GHC), version 5.02.3. Thanks; slurped added to the download page. Cheers, Simon ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED]

RE: An answer and a question to GHC implementors [was Re: How to make Claessen's Refs Ord-able?]

2002-04-09 Thread Simon Marlow
However, it is possible to have global top-level references using unsafePerformIO if you're very careful about it. In GHC we do something like this: {-# NOINLINE global_var #-} global_var :: IORef Int global_var = unsafePerformIO (newIORef 42) the NOINLINE pragma is used

RE: GHCi and -O [was: Re: ANNOUNCE: GHC 5.02.3 released]

2002-04-09 Thread Simon Marlow
This made me think about using *.o-files in GHCi generated w/ 'ghc -O2'. My GHCi (currently 5.00.2) states: --- snip --- warning: -O conflicts with --interactive; -O turned off. --- snap --- if I pass -O2 to ghci. Additionally, I recall some core-dumps or having ghci sometimes

Re: An answer and a question to GHC implementors [was Re: How to make Claessen's Refs Ord-able?]

2002-04-09 Thread David Feuer
On Tue, Apr 09, 2002, Simon Marlow wrote: muse I did wonder once whether IO monad bindings should be allowed at the top-level of a module, so you could say module M where ref - newIORef 42 and the top-level IO would be executed as part of the module initialization code. This

Re: ghc 5.02.2 FFI question

2002-04-09 Thread Bernard James POPE
Hi Simon, (posted to [EMAIL PROTECTED] in case anyone else is reading this). I just tried your example and it seems to run in constant space here with 5.02.2. The code looks fine - this isn't something we really envisaged people doing with the RTS API, but there's no real problem with it

Re: GHC 5.02.3, SuSE rpms

2002-04-09 Thread Jorge Adriano
On Tuesday 09 April 2002 08:38, Ralf Hinze wrote: I've uploaded SuSE 7.3 rpms for the patchlevel release of the Glasgow Haskell Compiler (GHC), version 5.02.3. http://www.informatik.uni-bonn.de/~ralf/ghc-5.02.3-1.src.rpm

Re: ANNOUNCE: GHC 5.02.3 released

2002-04-09 Thread Manuel M. T. Chakravarty
Simon Marlow [EMAIL PROTECTED] wrote, The (Interactive) Glasgow Haskell Compiler -- version 5.02.3 == We are pleased to announce a new patchlevel release of the Glasgow Haskell Compiler (GHC), version 5.02.3. The source

RE: Fundep/Existential Types in 5.03

2002-04-09 Thread Ashley Yakeley
At 2002-04-09 20:02, I wrote: Does anyone even know of a workaround? Given this, find an implementation of 'f' that retrieves the contents of its 'D' argument: class C a b | a - b data D a = forall b. (C a b) = MkD b f :: (C a b) = D a - b -- f (MkD b) = bwon't compile It's very