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

David Roundy droundy at darcs.net
Fri Mar 2 14:19:17 EST 2007


On Fri, Mar 02, 2007 at 08:12:19PM +0100, Thomas Hartman wrote:
> 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.

It just checks whether ghc is in the path.
-- 
David Roundy
Department of Physics
Oregon State University


More information about the Haskell-Cafe mailing list