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
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]
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
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
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
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
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
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
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