ANNOUNCE: new GHC snapshot for Debian available

2000-05-08 Thread Michael Weber
Hi! After some months of silence, finally I made a snapshot of the weekend's CVS version of GHC for Debian available. As usual, it's compiled with "everything on", including a full set of profiling libs in an additional package. If I recall correctly from a GHC HQ mail, profiling is (at least

net library port numbers

2000-05-08 Thread George Russell
Socket.accept function returns a PortNumber as its third argument. (This is not what the interface comment says, but the comment is wrong.) However I can't find any way of extracting the contents of the PortNumber to an integer.

RE: net library port numbers

2000-05-08 Thread Simon Marlow
Socket.accept function returns a PortNumber as its third argument. (This is not what the interface comment says, but the comment is wrong.) However I can't find any way of extracting the contents of the PortNumber to an integer. I've just added instances of Ord, Enum, Real and

strangeness with `Exception.tryAll'

2000-05-08 Thread Michael Weber
Hi! I'm not quite sure, whether this is a bug at all, so maybe someone can explain this behaviour to me: Consider the following piece of code: \begin{code} import Exception foo = do res - tryAll (someObscureComputationThatThrowsErrors) putStr "This is immediately printed: " print res

RE: strangeness with `Exception.tryAll'

2000-05-08 Thread Simon Marlow
I'm not quite sure, whether this is a bug at all, so maybe someone can explain this behaviour to me: Consider the following piece of code: \begin{code} import Exception foo = do res - tryAll (someObscureComputationThatThrowsErrors) putStr "This is immediately printed: "

Mutable Arrays

2000-05-08 Thread Marc van Dongen
Hello all, I wanted to recompile some old programs with the latest ghc from CVS. MutableArray wasn't known any more. I do import GlaExts. What am I missing? Regards, Marc van Dongen -- Marc van Dongen, CS Dept | phone: +353 21 4903578 University College Cork, NUIC | Fax:+353 21

Re: strangeness with `Exception.tryAll'

2000-05-08 Thread 'Michael Weber'
On Mon, May 08, 2000 at 07:30:18 -0700, Simon Marlow wrote: If you embed the (error "BANG") inside a data structure, then it can indeed excape from the tryAll because seq only evaluates to WHNF. Thanks a bunch, that pointed me in the right direction! tryAll (runST (return (error