Re: [Haskell] thread-local variables

2006-08-04 Thread Einar Karttunen
On 04.08 17:29, Frederik Eaton wrote: > might, in Adrian Hey and Einar Karttunen's world, become: > > newMain host environment program_args > network_config locale terminal_settings > stdin stdout stderr = do > hPutStrLn stdout (defaultEncoding locale) "Hello world" Actually I have im

Re: [Haskell] thread-local variables

2006-08-04 Thread Frederik Eaton
> As for the subject under discussion (thread local state), I am > personally sceptical about it. Why do we need it? Are we talking > about safety or just convenience/API elegance? I've never > encountered a situation where I've needed thread local state, > (but this does not necessarily make it ev