Hello,
I have a problem with profiling using a freshly installed GHC 5.04 under
Solaris. With the following program crash.lhs:
module Main where
test1 = print test1
test2 = {-# SCC test2 #-} print test2
main = do c - readLn
if c==1 then test1 else test2
I get the following
I have a problem with profiling using a freshly installed GHC
5.04 under Solaris. With the following program crash.lhs:
Please install 5.04.1 instead, I believe this bug was fixed.
Cheers,
Simon
___
Glasgow-haskell-users mailing list
[EMAIL
Hi all,
I think there's a problem with the external core generation. Suppose we
have the following module:
-
module Test where
data Bool = True | False
data Maybe a = Just a | Nothing
class Eq a where
(==) :: a - a - Bool
instance Eq Bool where
(==) True True = True
(==)
Hi, I am currently trying to create a Haskell interface to a C++
library and cannot get it to work completely.
If you want to interface Hugs to C++ code, you have to link Hugs using
a C++ compiler so that the Hugs binary contains new, throw, etc. I
believe the main thing this changes is that
David Sabel [EMAIL PROTECTED] writes:
{-# NOINLINE b #-}
b x = if even x then unsafePerformIO getChar else bot
bot = bot
main = do
putChar (b 4)
putChar (b 6)
I am not a compiler implementer (or lawyer, for that matter :)
But I propose this guess. First, both even