Re: [Haskell-cafe] process simulation in functional style

2006-07-17 Thread Jared Updike
Also, I found that the textbook The Haskell School of Expression by Paul Hudak is a good introduction (particularly, if I remember correctly, the second half of the book) to functional reactive programming in Haskell. Jared. On 7/16/06, Nicolas Frisby [EMAIL PROTECTED] wrote: You might

[Haskell-cafe] process simulation in functional style

2006-07-16 Thread Alexander Vodomerov
Hello! I'm writing a program that simulates multiple processes. The processes may send/receive messages, do some work, or sleep for some amount of time. I have seen that many such things can be expressed in Haskell in very elegant manner using it functional or lazy properties. For example,

Re: [Haskell-cafe] process simulation in functional style

2006-07-16 Thread Nicolas Frisby
You might discover helpful techniques by searching for these terms/projects/papers: - functional reactive programming (e.g. Yampa project) - resumption monad (e.g. Cheap but Functional Threads) - concurrent Haskell extensions - or even comonads (e.g. Essence of Dataflow) The activation energy