Re: [Haskell-cafe] Concurrent with monads

2010-11-15 Thread Mario Blažević
On 10-11-14 07:36 PM, Jiansen He wrote: Hi cafe, I wounder if it is possible to tell a haskell system that two computations with side effects could be executed concurrently. Here is an affected example: Suppose two people want to compare their age, but do not want to leak their personal inform

Re: [Haskell-cafe] Concurrent with monads

2010-11-15 Thread John Lato
> > From: Jiansen He > > Hi cafe, > > I wounder if it is possible to tell a haskell system that two computations > with side effects could be executed concurrently. > > Here is an affected example: > > Suppose two people want to compare their age, but do not want to leak their > personal informati

[Haskell-cafe] Concurrent with monads

2010-11-15 Thread Jiansen He
Hi cafe, I wounder if it is possible to tell a haskell system that two computations with side effects could be executed concurrently. Here is an affected example: Suppose two people want to compare their age, but do not want to leak their personal information. The following program reads one pe