[Haskell-cafe] ANN: HSH 1.0.0

David Roundy droundy at darcs.net
Thu Mar 1 17:51:26 EST 2007

On Thu, Mar 01, 2007 at 01:47:38PM -0600, John Goerzen wrote:
> Hello,
> I'm pleased to announce the first release of HSH.
> HSH is designed to let you mix and match shell expressions with Haskell
> programs. With HSH, it is possible to easily run shell commands, capture
> their output or provide their input, and pipe them to/from other shell
> commands and arbitrary Haskell functions at will.
> HSH makes it easy to run shell commands.  But its real power is in
> piping.  You can pipe -- arbitrarily -- between external programs, pure
> Haskell functions, and Haskell IO functions, mixing and matching at
> will.

Looks pretty cool.  I had one question/comment/complaint, though, from the

> catFromS :: String -> String -> String
> Takes a string and sends it on as standard output.
> The input to this function is never read.

Shouldn't this be called echo? Or just let people use the preexisting
function "const", which does the same thing? catFromS just seems
David Roundy
Department of Physics
Oregon State University

More information about the Haskell-Cafe mailing list