
There's no iteratee/fold-based IO system yet.
What about
http://sites.google.com/site/haskell/notes/lazy-io-considered-harmful-way-to...
?
It's not on hackage, but at least it's public domain.
Oleg, of course.
2009/1/13 Don Stewart
manlio_perillo:
Hi.
During a tentative (quite unsuccessfull) to convert a simple Python script that prints on stdout a directory and all its subdirectory [1] in a good Haskell (mostly to start to do real practice with the language), I came across this blog post: http://blog.moertel.com/articles/2007/03/28/directory-tree-printing-in-haske...
Since recently I read about alternatives to lazy IO (like iteratee), I'm curious to know if a flexible, efficient and safe alternative exists, for the task of display a directory tree.
If you can do it with strict IO in Python, do the same thing in Haskell with System.IO.Strict. It should be mechanical to translate Python programs directly into naive IO-based Haskell using strict IO. Boring, but mechanical.
There's no iteratee/fold-based IO system yet.
-- Don _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe