[Haskell-cafe] try, seq, and IO

2010-09-15 Thread Jeroen van Maanen
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 to the functionality that had taken me five

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

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

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

2010-09-15 Thread Simon Peyton-Jones
| Sent: 15 September 2010 10:13 | To: Haskell Café | Subject: [Haskell-cafe] try, seq, and IO | | 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