[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 wrote: > Hi folks, > > Don Stewart noticed this blog post on Ha

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 ru

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.pdf > > Austin > That paper cleared up most of my issues and it is amazing that it is not amongst the papers that

[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 onExce

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

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

2006-08-08 Thread Immanuel Litzroth
itely wrong. Haskell would be in even greater shape if some people who shall remain unnamed had not gone over to Microsoft. I foresee an interesting discussion here. Immanuel -- *** I can, I can't. Tubbs Tattsyrup -- Immanuel Litzroth

Re: [Haskell-cafe] Why Not Haskell?

2006-08-07 Thread Immanuel Litzroth
Person A being not only talented but also shrewd now uses the contractual obligations of person B as leverage to screw him out of most of his previously made profit for delivering said work. He lived peacefully ever after. What is this, Economic Analysis by Parable? Immanuel -- ***

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

2006-07-28 Thread Immanuel Litzroth
n to Haskell? What would be the purpose of that? 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

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 f

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

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 o

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

2005-09-21 Thread Immanuel Litzroth
ect that their utility is minimal. Ever heard of the loop macro? Immanuel Litzroth ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe