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

Yusaku Hashimoto nonowarn at gmail.com
Fri Oct 23 06:43:22 EDT 2009


or

:ma foo bar

On Fri, Oct 23, 2009 at 7:40 PM, Yusaku Hashimoto <nonowarn at gmail.com> wrote:
> :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