Manlio Perillo wrote: > > P.S.: another question. > Why, in ghci, every time I call myThreadId, I get a different value? > > Prelude Control.Concurrent> myThreadId > ThreadId 40 > Prelude Control.Concurrent> myThreadId > ThreadId 41 GHCi runs each expression in a new thread. Cheers, Simon