Hi,
by using the RTS I've made it possible to dynamically load modules for
quite some time now. However, recently I've stumbled inte quite a
problem.
I've created a bunch of modules to handle all dynamic loading for me and
things are good for simple programs. But now I want to load my dynamic
On Thu, Apr 29 2004, Gregory Wright wrote:
It has nothing to do with shared objects.
No, it hasn't and I have never claimed that it is so.
the main program (the one that loads the loadable modules) to explicitly
link all of the object files that the set {main program, loadable
modules}
On Sat, Mar 06 2004, Dean Herington wrote:
Can GHC be invoked somehow via the #! mechanism? Put another way, is
there a GHC analogue to runhugs?
Well, ghc now has an -e flag to evaluate stuff directly from the prompt
(e.g. ghc -e Main.main Main.hs). But you can't execute shell-scripts
from a
On Mon, Mar 08 2004, Simon Marlow wrote:
However, I just tried it on a recent Linux (RedHat 9) and it seems to
accept nested #! scripts.
It doesn't work for me though (it tries to run the first script (the
Haskell module) with the interpreter for the second script (bash).
Anyway, one cannot
Hi,
the stangest bug I've ever experienced has manifested in my code and I
badly need some help finding it.
I'm currently writing a small lexer generator using template haskell. It
is supposed to fit in nicely with Happy and is therefore of the
threaded monadic type. However it does not work, or
On Sat, Jun 14 2003, Hampus Ram wrote:
However if you change case t of to the more esoteric
case unsafePerformIO (putStrLn (show t) return t) of it works like
a charm.
I have to correct myself on this point, it does not work like a charm.
It does however change the code so that it works