How Many Ways Can We Implement cat(1)?

Submitted by jgoerzen on Mon, 02/21/2005 - 7:45am.

There's a nice little haskell-cafe thread about ways we could implement the Unix utility cat. There are several implementations posted (see also the second page of discussion). If you're trying to learn about I/O in Haskell, this could be a useful place to start.