[Haskell-cafe] wanted: haskell one-liners (in the perl sense of one-liners)

Thomas Hartman tphyahoo at gmail.com
Fri Mar 2 14:12:19 EST 2007


Great tip! One question though.

What condition is

 if which ghc >/dev/null

checking?

What bad thing will happen if you don't do this check?

Sorry this is more a bash question than a haskell question.

2007/3/2, Bas van Dijk <basvandijk at home.nl>:
> On Friday 02 March 2007 14:48, Thomas Hartman wrote:
> > ...
> > But I couldn't figure out how to use them directly from the shell, and
> > of course that's what most readers will probably wnat.
> > ...
>
> From Dons wiki article http://haskell.org/haskellwiki/Blog_articles I noticed
> this blog with a nice tip on how to run Haskell expressions from the shell:
>
> http://www.joachim-breitner.de/blog/archives/156-Haskell-on-the-Command-Line.html
>
> regards,
>
> Bas van Dijk
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list