Re: STM check operation

2006-07-12 Thread S Koray Can
Rodney D Price wrote: I've been reading the STM papers on Simon PJ's website, but I find that the GHC I'm using (6.5) changes a few things from the paper's descriptions. For instance, atomic becomes atomically and catch becomes catchSTM. I can't, however, find throw, and the type signature

[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 'breaking

[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