[Haskell-beginners] how to set command args in ghci

Yusaku Hashimoto nonowarn at gmail.com
Fri Oct 23 06:40:46 EDT 2009


:set args foo bar

should work. FYI, type :? to ghci to see all commands.

HTH

-nwn

2009/10/23 Kui Ma <mklklk at hotmail.com>:
> Is it possible to set the Command Arguments when running the main function
> in ghci?
>
> Thanks,
> Kui
>
>
>
> ________________________________
> Windows Live: Friends get your Flickr, Yelp, and Digg updates when they
> e-mail you.
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>


More information about the Beginners mailing list