[Haskell-cafe] directory tree?

Chad Scherrer chad.scherrer at gmail.com
Fri Jun 22 18:18:23 EDT 2007


Nice, thanks! Certainly looks like a good start at this.

What got me thinking about this is I'd like to be able to do something
like this in just a couple lines of code:

gunzip -c ./2*/*.z

... and feed the result into a giant lazy ByteString. Now, the UNIX
command doesn't really cut it, because it complains there are too many
files, but its simplicity still makes the IO monad solution feel
clunky by comparison.

Chad

On 6/22/07, Greg Fitzgerald <garious at gmail.com> wrote:
> Here's my shot.  http://hpaste.org/370
> Not much different than Tom Moertel's, but grabs the fileSize along the way.
> -Greg


More information about the Haskell-Cafe mailing list