Re: [Haskell-cafe] Printing of asynchronous exceptions to stderr

2010-12-16 Thread Mitar
Hi! On Thu, Dec 16, 2010 at 10:30 AM, Simon Marlow wrote: > I've thought about whether we could support resumption in the past. It's > extremely difficult to implement - imagine if the thread was in the middle > of an I/O operation - should the entire I/O operation be restarted from the > beginni

Re: ANNOUNCE: GHC 7.0.2 Release Candidate 1

2010-12-16 Thread Antoine Latter
Way to go! Are there tentative release notes, so I know what to look for? Thanks, Antoine On Thu, Dec 16, 2010 at 12:36 PM, Ian Lynagh wrote: > > We are pleased to announce the first release candidate for GHC 7.0.2: > >    http://www.haskell.org/ghc/dist/7.0.2-rc1/ > > This includes the source

ANNOUNCE: GHC 7.0.2 Release Candidate 1

2010-12-16 Thread Ian Lynagh
We are pleased to announce the first release candidate for GHC 7.0.2: http://www.haskell.org/ghc/dist/7.0.2-rc1/ This includes the source tarball, installers for OS X and Windows, and bindists for amd64/Linux, i386/Linux, amd64/FreeBSD and i386/FreeBSD. Please test as much as possible; bugs

Newtype deriving mixing up types

2010-12-16 Thread Emil Axelsson
Hello! I attach a program which I suspect demonstrates a bug in GHC. The important lines are: showType :: forall a . Expr a -> String showType (Lit _) = show (typeOf (undefined :: a)) test1 = showType (mk :: Expr BOOL) -- Prints "Bool" (wrong?) test2 = showType (Lit mk :: Expr BOO

Re: build issue: * Missing header file: HsBase.h

2010-12-16 Thread Karel Gardas
Duncan and Simon, thank you very much for dealing with this. After adding -v3 to the ghc-cabal invocation it reported gcc error on HsBase.h due to missing math.h file, i.e. system/library/math/header-math package was not installed yet. Thanks! Karel On 12/16/10 11:16 AM, Duncan Coutts wrot

Re: build issue: * Missing header file: HsBase.h

2010-12-16 Thread Duncan Coutts
On 16 December 2010 10:02, Simon Marlow wrote: >> ghc-cabal: Missing dependency on a foreign library: >> * Missing header file: HsBase.h >> This problem can usually be solved by installing the system package that >> provides this library (you may need the "-dev" version). If the library is >> alr

Re: build issue: * Missing header file: HsBase.h

2010-12-16 Thread Simon Marlow
On 10/12/2010 16:49, Karel Gardas wrote: Hello, I'm trying to recover my opensolaris builder machine after disk crash, but after reinstall I'm not able to build any GHC there. I'm trying head and now also 6.12.3 as a reference (as I'm able to build it on my workstation with the same OS). The pro

Re: [Haskell-cafe] Printing of asynchronous exceptions to stderr

2010-12-16 Thread Simon Marlow
On 07/12/2010 21:30, Mitar wrote: Hi! On Wed, Dec 1, 2010 at 10:50 AM, Simon Marlow wrote: Yes, but semantics are different. I want to tolerate some exception because they are saying I should do this and this (for example user interrupt, or timeout) but I do not want others, which somebody els