Re: [Haskell-cafe] Concurrency in Haskell

2007-01-26 Thread Alexy Khrabrov
Well, I'm a bit suspicious if the top references on Haskell concurrency are either research papers or compiler manual sections. How about some good ol' bundles of them codes to peruse and take example from? E.g., dining philosophers? Cheers, Alexy ___

Re: [Haskell-cafe] Concurrency in Haskell

2007-01-26 Thread Donald Bruce Stewart
deliverable: Well, I'm a bit suspicious if the top references on Haskell concurrency are either research papers or compiler manual sections. How about some good ol' bundles of them codes to peruse and take example from? E.g., dining philosophers? The point was that there are *lots* of

[Haskell-cafe] Concurrency in Haskell

2007-01-25 Thread Alexy Khrabrov
What's the state of concurrency in Haskell? If Erlang's main strength is light-weight parallelism, can something like that be done in Haskell? Are there good examples of useful code employing GHC concurrency features one can play with? Cheers, Alexy

Re: [Haskell-cafe] Concurrency in Haskell

2007-01-25 Thread Chris Eidhof
Yes, I'm curious too. For example, it would be great if we could change a function that uses map almost automatically to a function that does the map in parallel. Ofcourse it should be in the IO monad, so maybe mapM would be a better choice to start with. -chris On 25 Jan, 2007, at 21:13

Re: [Haskell-cafe] Concurrency in Haskell

2007-01-25 Thread Alec Berryman
Chris Eidhof on 2007-01-25 22:04:18 +0100: Yes, I'm curious too. For example, it would be great if we could change a function that uses map almost automatically to a function that does the map in parallel. Ofcourse it should be in the IO monad, so maybe mapM would be a better choice to

Re: [Haskell-cafe] Concurrency in Haskell

2007-01-25 Thread Donald Bruce Stewart
deliverable: What's the state of concurrency in Haskell? If Erlang's main strength is light-weight parallelism, can something like that be done in Haskell? http://haskell.org/haskellwiki/Libraries_and_tools/Concurrency_and_parallelism