Re: Dynamic Compilation

2003-06-11 Thread Peter Simons
Keean writes: > http://losser.st-lab.cs.uu.nl/mod_haskell/ Interesting! > But, think of the advantages of a type-safe web-server, utilising GHC's > light weight threads... Well, yes, but the problem is that web server today must provide tons of things to be suitable for production use

Re: Dynamic Compilation

2003-06-11 Thread Martin Sjögren
ons 2003-06-11 klockan 20.04 skrev Koen Claessen: > | Ghci and Template Haskell show that it is possible to > | compile and load a module into a running program. Is > | there a user interface to do that? Would one be > | possible? Would that make a Haskell analog of Yaws > | (yaws.hyber.org

Re: Dynamic Compilation

2003-06-11 Thread Koen Claessen
| Ghci and Template Haskell show that it is possible to | compile and load a module into a running program. Is | there a user interface to do that? Would one be | possible? Would that make a Haskell analog of Yaws | (yaws.hyber.org) possible? | | For those who don't know Yaws: It is a we

RE: Dynamic Compilation

2003-06-11 Thread Keean
A mod_haskell (using hugs) has been done here: http://losser.st-lab.cs.uu.nl/mod_haskell/ But, think of the advantages of a type-safe web-server, utilising GHC's light weight threads... Regards, Keean Schupke. -Original Message- From: [EMAIL PROTECTED] [mailto:[E

Re: Dynamic Compilation

2003-06-11 Thread Peter Simons
Carsten Schultz writes: > a web server written in Erlang that can compile [...] code embedded > in HTML files to produce dynamic pages IMHO it should be possible to add a "mod_runhugs" module to Apache, which implements exactly that except that it doesn't require any compilation of code at all.

Re: Dynamic Compilation

2003-06-11 Thread Keean Schupke
We are using a web server written in Haskell in a production environment... It only serves dynamic pages - it is a bit like Tomcat for Haskell... It uses the ghci linker interface to load object files... but does not compile automatically. I think it sould be possible to embed ghc into an applica

Re: GHC-6.0: Open with ... bug (again!)

2003-06-11 Thread Sigbjorn Finne
That's good to hear --  :load works as expected for me:   Prelude> :load "c:/Program Files/Haskell/Mod1.hs" "c:/Program Files/Haskell/Mod2.hs" Compiling Mod1   () Compiling Mod2   () Ok, modules loaded: Mod1, Mod2. Prelude>   --sigbjorn - Original Message - From: Calle

Re: ANNOUNCE: GHC version 6.0

2003-06-11 Thread Oliver Braun
> > > > The (Interactive) Glasgow Haskell Compiler -- version 6.0 > > > > We are pleased to announce a new major release of the Glasgow Haskell > > Compiler (GHC), ve

Dynamic Compilation

2003-06-11 Thread Carsten Schultz
Hallo, Ghci and Template Haskell show that it is possible to compile and load a module into a running program. Is there a user interface to do that? Would one be possible? Would that make a Haskell analog of Yaws (yaws.hyber.org) possible? For those who don't know Yaws: It is a web server writ

Conditions on deriving Typeable

2003-06-11 Thread George Russell
Please satisfy my curiosity, what is it about data WrappedDisplayType = forall displayType . DisplayType displayType => WrappedDisplayType displayType deriving (Typeable) that causes GHC 6.0 to utter DisplayTypes.hs:135: Can't make a derived instance of `Typeable WrappedDisp

Re: GHC-6.0: Open with ... bug (again!)

2003-06-11 Thread Calle Lejdfors
Hi.   Thanks! It seems to work correctly now. However it does not appear to work when loading via :load on the GHCi prompt. It would be nice to get this to work as it would (probably) enable me to run haskell-mode with ghci interaction through emacs under windows.   Thanks, Calle     - Or