Is there a way of calling exported 'dynamic export' functions in a
thread-safe manner? I have this problem in JVM-Bridge...
This is what the main thread does, from Haskell:
1. starts the Java VM, which starts a bunch of other threads,
including
the AWT thread;
2. creates a pointer
I just wanted to play a bit with the Socket library comming
with Haskell. However, whatever I try to do, I get the following
runtime error, eg in ghci:
Socket connectTo pcsep (PortNumber 80)
*** Exception: does not exist
Action: getProtocolByName
Reason: no such protocol entry
Seems that I
Sun, 21 Oct 2001 19:38:55 -0700, Ashley Yakeley [EMAIL PROTECTED] pisze:
MonadError seems to have been redefined in 5.02 to have a fundep:
5.00.2:
class (Monad m) = MonadError e m
5.02:
class (Monad m) = MonadError e m | m - e
Why?
It allows some practical functions
I just wanted to play a bit with the Socket library comming
with Haskell. However, whatever I try to do, I get the following
runtime error, eg in ghci:
Socket connectTo pcsep (PortNumber 80)
*** Exception: does not exist
Action: getProtocolByName
Reason: no such protocol entry
On Friday 19 October 2001 11:02, George Russell wrote:
Recently I've been experimenting with a sort of OOP with GHC, [...]
I find your discussion rather intriguing, but I'm not sure I fully understand
what you are trying to do.
Existential typing allows for what I would call dynamic dispatch,
I was trying to compile a .hs file with the profiling option enabled
(-prof -auto-all) but I got an error message:
/usr/bin/ld: cannot find -lHSstd_p_imp
collect2: ld returned 1 exit status
Does anyone know what is this -lHSstd_p_imp? I am using GHC-4.08.1 (with
Cygwin) under a Windows 98