RE: [Haskell-cafe] try, seq, and IO

2010-09-15 Thread Simon Peyton-Jones
You may get useful help from Haskell Cafe. But if you can produce a cut-down example without complex dependencies, we could also look at it. Simon | -Original Message- | From: haskell-cafe-boun...@haskell.org [mailto:haskell-cafe- | boun...@haskell.org] On Behalf Of Jeroen van Maanen |

Re: [Haskell-cafe] try, seq, and IO

2010-09-15 Thread Neil Brown
On 15/09/10 10:13, Jeroen van Maanen wrote: The past year I have been working on a port of my machine learning project named LExAu from Java to Haskell. I'm still very glad I took the jump, because the complexity curve appears to be log shaped rather than exp shaped. In one year I almost got t

Re: [Haskell-cafe] try, seq, and IO

2010-09-15 Thread Gregory Crosswhite
Check out the "evaluate" function in Control.Exception. Also note that if you apply seq to an IO action, you do *not* force the result, only the action that will eventually produce the result. Cheers, Greg On 9/15/10 2:13 AM, Jeroen van Maanen wrote: The past year I have been working on a p