[Haskell-cafe] threadDelay

2009-02-09 Thread Immanuel Litzroth
Am I correct in assuming this program should run 100 secs? import Control.Concurrent main = do threadDelay 10 Why do I get the folling result then? ghc -threaded Main.hs -o delay time ./delay real0m0.104s user0m0.001s sys0m0.002s Thanks in advance for all your wonderful

Re: [Haskell-cafe] Comments from OCaml Hacker Brian Hurt

2009-01-16 Thread Immanuel Litzroth
It's a criticism already voiced by the great David Bowie: My Brain Hurt like a warehouse, it had no room to spare I had to cram so many things to store everything in there Immanuel On Thu, Jan 15, 2009 at 4:34 PM, John Goerzen jgoer...@complete.org wrote: Hi folks, Don Stewart noticed

Re: [Haskell-cafe] some ideas for Haskell', from Python

2009-01-15 Thread Immanuel Litzroth
2) In Python it is possible to import modules inside a function. In Haskell something like: joinPath' root name = joinPath [root, name] importing System.FilePath (joinPath) In Python importing a module has totally different semantics from importing in Haskell. I runs the

Re: [Haskell-cafe] Taking Exception to Exceptions

2009-01-08 Thread Immanuel Litzroth
I recommend this paper for info, it's very easy to follow: http://www.haskell.org/~simonmar/papers/ext-exceptions.pdfhttp://www.haskell.org/%7Esimonmar/papers/ext-exceptions.pdf Austin That paper cleared up most of my issues and it is amazing that it is not amongst the papers that are

[Haskell-cafe] Taking Exception to Exceptions

2009-01-07 Thread Immanuel Litzroth
I'm trying to use the new (for me at least) extensible exceptions and I am little amazed that I cannot get catch, try or mapException to work without telling them which exceptions I want to catch. What is the rationale behind this? How does bracket manage to catch all exceptions? What should

Re: [Haskell-cafe] Re: Why Not Haskell?

2006-08-09 Thread Immanuel Litzroth
Reilly Hayes [EMAIL PROTECTED] writes: On Aug 8, 2006, at 1:42 AM, Immanuel Litzroth wrote: Reilly Hayes [EMAIL PROTECTED] writes: I don't understand your argument. How exactly does the GPL get in the way of selling software as an instantiation of business expertise

Re: [Haskell-cafe] Re: Why Not Haskell?

2006-08-08 Thread Immanuel Litzroth
-- *** I can, I can't. Tubbs Tattsyrup -- Immanuel Litzroth Software Development Engineer Enfocus Software Antwerpsesteenweg 41-45 9000 Gent Belgium Voice: +32 9 269 23 90 Fax : +32 9 269 16 91 Email: [EMAIL PROTECTED] web : www.enfocus.be

Re: [Haskell-cafe] Why Not Haskell?

2006-08-07 Thread Immanuel Litzroth
is this, Economic Analysis by Parable? Immanuel -- *** I can, I can't. Tubbs Tattsyrup -- Immanuel Litzroth Software Development Engineer Enfocus Software Antwerpsesteenweg 41-45 9000 Gent Belgium Voice: +32 9 269 23 90 Fax : +32 9 269

Re: [Haskell-cafe] if-then-else as rebindable syntax

2006-07-28 Thread Immanuel Litzroth
-- *** I can, I can't. Tubbs Tattsyrup -- Immanuel Litzroth Software Development Engineer Enfocus Software Antwerpsesteenweg 41-45 9000 Gent Belgium Voice: +32 9 269 23 90 Fax : +32 9 269 16 91 Email: [EMAIL PROTECTED] web : www.enfocus.be

Re: [Haskell-cafe] Language shootout (reloaded)

2006-02-10 Thread Immanuel Litzroth
Stefan Holdermans [EMAIL PROTECTED] writes: Still---and, please, forgive me for this---I feel that us being #1 now tells us more about the Haskell community than it tells us about Haskell. How to optimize Haskell code: 1) enter it as a test in the great language shootout. 2) wait a few days.

Re: [Haskell] Re: [Haskell-cafe] Haskell versus Lisp

2005-09-21 Thread Immanuel Litzroth
of the loop macro? Immanuel Litzroth ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell] Re: [Haskell-cafe] Haskell versus Lisp

2005-09-21 Thread Immanuel Litzroth
Tomasz Zielonka [EMAIL PROTECTED] writes: On Wed, Sep 21, 2005 at 08:53:47AM +0100, Immanuel Litzroth wrote: David F. Place [EMAIL PROTECTED] writes: I was hoping that the examples I requested would be examples of particular control constructs or extensions to the language's syntax

Re: [Haskell] Re: [Haskell-cafe] Haskell versus Lisp

2005-09-21 Thread Immanuel Litzroth
David F. Place [EMAIL PROTECTED] writes: On Sep 21, 2005, at 3:53 AM, Immanuel Litzroth wrote: Ever heard of the loop macro? Yes, the loop macro is a good example for the argument against lisp. Lisp has features to support iteration that date back to the time before it was understood