Re: [Haskell-cafe] Reflection.Emit in Haskell

2008-01-17 Thread Martin Lütke
Cetin Sert schrieb: As a .NET (C#/F#) programmer learning Haskell, I would love to know the best online sources about run-time compilation etc. like Reflection.Emit in .NET. I am making heavy use of this .NET API to compile customized (regular-expressions-) FSAs at run-time and want to

Re: [Haskell-cafe] Re: Very crazy

2007-09-25 Thread Martin Lütke
Dominic Steinitz schrieb: Andrew Coppin andrewcoppin at btinternet.com writes: I just found it rather surprising. Every time *I* try to compose with functions of more than 1 argument, the type checker complains. Specifically, suppose you have foo = f3 . f2 . f1 Assuming those are all

Re: [Haskell-cafe] How can I stop GHCi from calling show for IO actions?

2007-09-17 Thread Martin Lütke
On 9/16/07, Ryan Ingram [EMAIL PROTECTED] wrote: Is there a way to make GHCi not print the result of an action but still make my variables get bound? This seems to be a common question (I myself asked it recently), so I've added an entry to the GHCi page on the

Re: [Haskell-cafe] Installation of GLUT package

2007-09-03 Thread Martin Lütke
Ronald Guida schrieb: The first command, runghc Setup.hs configure, fails, reporting that it can't find sh. Naturally, I'm on a Windows box, so I don't have the Unix shell on my system. So now I'm stuck... * Is there an easy way to work around the absence of sh? Try Cygwin?

Re: [Haskell-cafe] Re: HApps API Documentation?

2007-09-02 Thread Martin Lütke
Just compile your one version from the HAppS source. Use runghc Setup.hs haddock. OK, I can give that a shot. I'm still curious about my original question, though. Are there alternative online API docs for Happs? I am sorry I dont answer your question directly, but the last online api

[Haskell-cafe] Re: HApps API Documentation?

2007-09-01 Thread Martin Lütke
James Britt james at neurogami.com writes: Are there alternative sites for HAppS API docs? There are two links on http://happs.org/#documentation but both give File not found! messages. Thanks, James Just compile your one version from the HAppS source. Use runghc Setup.hs

[Haskell-cafe] Re: wanted: HAppS example combining state and io

2007-09-01 Thread Martin Lütke
Thomas Hartman thomas.hartman at db.com writes: In the latest happs (darcs pulled, updated head is 0.9.1 iirc), I am experimenting with the example file in src/HAppS/Examples/HTTP1.hs. I would like to combine state with io. Eventually io will mean stuff like reading from a database, but

[Haskell-cafe] Re: Zippers, Random Numbers Terrain

2007-07-30 Thread Martin Lütke
apfelmus apfelmus at quantentunnel.de writes: Thomas Conway wrote: To amuse myself while waiting for test-runs to complete, I was thinking about random terrain generation. I came across a bunch of nice posts by Torben Mogensen, where he describes a neat way of constructing random