Thanks a lot! I thought that option resided in ghci or runghc apps.

On Jan 18, 2008 2:00 PM, Clifford Beshers <[EMAIL PROTECTED]>
wrote:

> 2008/1/18 Sukit Tretriluxana <[EMAIL PROTECTED]>:
>
> > Hi,
> >
> > I don't know if it's been asked before. I just wonder if GHC supports
> > some sort of one-liner program that can be specify right as the argument to
> > either ghci or runghc program. In perl, they have something like
> >
> > perl *-e* 'print "Hello"'
> >
> > Do we have similar thing with GHC?
>
>
>
>  ghc -e 'putStrLn "Yes, we do."'
>
>
>
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to