RE: installHandler, sleep, and interrupts.

2001-10-30 Thread Simon Marlow
When interrupting this program, the signal handler does not get called: module Main where import Posix main = do installHandler 2 (Catch (putStrLn Hello, world!)) Nothing sleep 600 -- putStr Try using Concurrent.threadDelay instead of

Re: Changed behaviour when reading from FIFOs!

2001-10-30 Thread Volker Stolz
On Mon, Oct 29, 2001 at 02:52:25PM -, Simon Marlow wrote: The blocking is essential since I need to be able to use MVars between the threadWaitRead the hGetLine (remember the note I sent about fork()ing). Sorry, I can't remember that - could you remind me? The hGetLine already

RE: Small cosmetic bug

2001-10-30 Thread Simon Marlow
I discovered a minor cosmetic bug today. After my undescribable hapiness about the fact that GHCi now has the :i command, I started playing around, and discovered the following ugly output: Prelude :i [] -- [] is a data constructor [] :: forall t_12. [t_12] Thanks, I've fixed

Re: Building GHC 5.02 on Solaris x86

2001-10-30 Thread Ian Lynagh
Thanks for your help Simon. Unfortunately I think I have spent enough time on this, and not enough on what I would like it for, without getting there - I may try again in the future if the porting process becomes better documented/tested. Ian ___

RE: ByteCodeLink.lookupIE PrelTup.Z73T{-72m-}

2001-10-30 Thread Simon Marlow
Hi, I got the following error message: ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 5.02, for Haskell 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \/\/ /_/\/|_| Type :? for help. Loading package std ... linking

RE: installHandler, sleep, and interrupts.

2001-10-30 Thread Anders Lau Olsen
I later ran into another problem that may or may not be related with the first. This is the program I am running: module Main where import Posix main = do installHandler sigCONT (Catch (putStrLn - resumed -)) Nothing forever $ do c - getChar