Re: How to bind a window library (in C) to Haskell?

2006-02-27 Thread Brian Hulley
Hi Esa! Thanks for the very detailed and clear explanation! I was going to wait till I'd implemented a simple example of passing/calling a function closure to post a reply but I've wasted all day just trying to think up a good name for my graphics library! :-) Regarding DirectX bindings, if

Building Win32 DLLs: Manual is not up-to-date

2006-02-27 Thread Michael Marte
Hello *, I am trying to turn a prototype written in Haskell into something I can call from a Visual Studio C++ 6.0 program. (The prototype is so clean and fast that there is no point in recoding everything.) So I followed the instructions in section 11.5 of the ghc manual ("Building and using Win

Re: inside the GHC code generator

2006-02-27 Thread Zdenek Dvorak
Hello, > > SPJ> tail calls is another, > > > > nowadays gcc optimize tail calls > > I found this thesis on the subject by Andreas Bauer: > > "Compilation of Functional Programming Languages using GCC -- Tail > Calls" > > Do you know if it is his work that was incorporated into GCC? no. Al

Re: inside the GHC code generator

2006-02-27 Thread Niklas Sorensson
Hello, SPJ> tail calls is another, nowadays gcc optimize tail calls I found this thesis on the subject by Andreas Bauer: "Compilation of Functional Programming Languages using GCC -- Tail Calls" Do you know if it is his work that was incorporated into GCC? I browsed trough some parts of

Re[2]: inside the GHC code generator

2006-02-27 Thread Bulat Ziganshin
Hello Simon, Friday, February 24, 2006, 12:30:22 PM, you wrote: SPJ> | GHC has great high-level optimization. SPJ> However, let me strongly urge you *not* to focus attention primarily on SPJ> the gcc route. Compiling via C has received a lot of attention over the SPJ> years, and there are many