[Haskell-cafe] One-line haskell program with GHC
gwern0 at gmail.com
gwern0 at gmail.com
Fri Jan 18 18:39:02 EST 2008
On 2008.01.18 13:57:27 -0800, Sukit Tretriluxana <tretriluxana.s at gmail.com> scribbled 1.3K characters:
> 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?
>
> Thanks,
> Ed
http://www.joachim-breitner.de/blog/archives/156-Haskell-on-the-Command-Line.html
http://haskell.org/haskellwiki/Simple_Unix_tools
http://www.haskell.org/pipermail/haskell-cafe/2007-March/023035.html
or
http://groups.google.com/group/fa.haskell/browse_thread/thread/e948ff0ad4d7c0c9/241dca1a802c68bb
--
gwern
hope Coderpunks sigvoice .45 sabana MI5 CISSP Digicash b Tyrell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20080118/9000ba77/attachment.bin
More information about the Haskell-Cafe
mailing list