[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] command-line-arguments

From: Wietse Jacobs
Subject: Re: [Chicken-users] command-line-arguments
Date: Fri, 10 Oct 2008 16:30:28 +0200

2008/10/10 Peter Bex <address@hidden>:
> On Fri, Oct 10, 2008 at 04:04:13PM +0200, Wietse Jacobs wrote:
>>   (display (command-line-arguments))
> That's (kind of) a limitation of how 'display' works.
> #;1> (display (list "foo" "bar"))
> (foo bar)
> Instead, you want:
> #;2> (printf "~S" (list "foo" "bar"))
> ("foo" "bar")

Thanks everyone!

Note to self: "Don't rely on `display` to tell you what your code does."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]