Re[2]: [Haskell-cafe] safe lazy IO or Iteratee?

2010-02-04 Thread Bulat Ziganshin
Hello John,

Thursday, February 4, 2010, 11:51:59 PM, you wrote:

 tl;dr: Lots of smart people, with a history of being right about this
 sort of thing, say iteratees are better. Evidence suggests
 iteratee-based IO is faster and more predictable than lazy IO.
 Iteratees are really hard to understand.

thank you! good time for iteratee tutorials? ;)


-- 
Best regards,
 Bulatmailto:bulat.zigans...@gmail.com

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: Re[2]: [Haskell-cafe] safe lazy IO or Iteratee?

2010-02-04 Thread David Leimbach
On Thu, Feb 4, 2010 at 1:26 PM, Bulat Ziganshin
bulat.zigans...@gmail.comwrote:

 Hello John,

 Thursday, February 4, 2010, 11:51:59 PM, you wrote:

  tl;dr: Lots of smart people, with a history of being right about this
  sort of thing, say iteratees are better. Evidence suggests
  iteratee-based IO is faster and more predictable than lazy IO.
  Iteratees are really hard to understand.

 thank you! good time for iteratee tutorials? ;)


I put up my version of cat on my blog... http://leimy9.blogspot.com

I'm just using runInteractiveCommand, and then putting the Handle returned
through an enumerator/iteratee processing fold to get the contents.



 --
 Best regards,
  Bulatmailto:bulat.zigans...@gmail.com


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe