[Haskell-cafe] Re: Haskell Speed

2005-12-23 Thread S Koray Can
Daniel Carrera wrote: It looks like Haskell doesn't do very well. It seems to be near the bottom of the pile in most tests. Is this due to the inherent design of Haskell or is it merely the fact that GHC is young and hasn't had as much time to optimize as other compilers? I don't think it's t

[Haskell-cafe] Re: Tutorial uploaded

2005-12-21 Thread S Koray Can
Daniel Carrera wrote: As a newbie... I agree that a newbie should be able to write this fairly early on: main = do x <- getLine() putStrLn ("The answer is " ++ show(fib(read(x I'd agree for some definition of 'early'. I'll elaborate: This entire discussion is about 'breaki

[Haskell-cafe] Re: module names

2005-12-20 Thread S Koray Can
Scherrer, Chad wrote: module Main where import A import B main = A.f >> B.f module A where f = ... module B where f = ... in a single file. This example is straight from chapter 5 of the Report, and no mention is made (that I could find) about modules needing to be in s