[Haskell-cafe] One-line haskell program with GHC

Sukit Tretriluxana tretriluxana.s at gmail.com
Fri Jan 18 16:57:27 EST 2008


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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080118/83891efc/attachment.htm

More information about the Haskell-Cafe mailing list