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
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.
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
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
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: "
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
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