Re: [racket] the extra empty string

2013-04-20 Thread Kejia柯嘉
Hi all, Thank you very much for your replies. After having a fresh break, I understand my mistake. Thanks a lot, Yoo: your explanation is very clear. -- Daniel ☵☯☲ 2013/4/19 Pierpaolo Bernardi : > Or, maybe, what he's after is > > (for-each display '("" "0" "" "0")) ? > > (just

Re: [racket] the extra empty string

2013-04-19 Thread Pierpaolo Bernardi
Or, maybe, what he's after is (for-each display '("" "0" "" "0")) ? (just guessing) Cheers P. On Sat, Apr 20, 2013 at 2:56 AM, Danny Yoo wrote: > On Fri, Apr 19, 2013 at 6:47 PM, Kejia柯嘉 wrote: > > Hi Yoo, > > > > You may try (display '("" "0" "" "0")), and you will find two whitepaces > >

Re: [racket] the extra empty string

2013-04-19 Thread Danny Yoo
On Fri, Apr 19, 2013 at 6:47 PM, Kejia柯嘉 wrote: > Hi Yoo, > > You may try (display '("" "0" "" "0")), and you will find two whitepaces > between 0. The function "display" delimits between elements of a list by inserting a space between each pair. It simply turns out that displaying the empty st

Re: [racket] the extra empty string

2013-04-19 Thread Kejia柯嘉
Hi Yoo, You may try (display '("" "0" "" "0")), and you will find two whitepaces between 0. 在 2013年4月19日星期五,Danny Yoo 写道: > On Fri, Apr 19, 2013 at 5:44 PM, Kejia柯嘉 > > wrote: > > Hi all, > > > > In DrRacket, why is there an extra empty string (`[]`between 0s) in > > the list:`'("" "0" "" "0")`.

Re: [racket] the extra empty string

2013-04-19 Thread Danny Yoo
On Fri, Apr 19, 2013 at 5:44 PM, Kejia柯嘉 wrote: > Hi all, > > In DrRacket, why is there an extra empty string (`[]`between 0s) in > the list:`'("" "0" "" "0")`. This generates `([]0[][]0)`, instead of > `([]0[]0)`. Unfortunately, the question here is ambiguous. What are you trying to do? Can y

[racket] the extra empty string

2013-04-19 Thread Kejia柯嘉
Hi all, In DrRacket, why is there an extra empty string (`[]`between 0s) in the list:`'("" "0" "" "0")`. This generates `([]0[][]0)`, instead of `([]0[]0)`. - Daniel Racket Users list: http://lists.racket-lang.org/users