string-unfold-right
Chris Hanson
(18 Nov 2019 02:34 UTC)
|
Re: string-unfold-right
Arthur A. Gleckler
(02 Mar 2020 23:12 UTC)
|
Re: string-unfold-right
Per Bothner
(02 Mar 2020 23:45 UTC)
|
Re: string-unfold-right
Shiro Kawai
(03 Mar 2020 05:12 UTC)
|
Re: string-unfold-right
Chris Hanson
(03 Mar 2020 08:29 UTC)
|
Re: string-unfold-right
Shiro Kawai
(03 Mar 2020 08:54 UTC)
|
Re: string-unfold-right
Arthur A. Gleckler
(03 Mar 2020 15:06 UTC)
|
Re: string-unfold-right
Per Bothner
(04 Mar 2020 07:04 UTC)
|
Re: string-unfold-right
Arthur A. Gleckler
(04 Mar 2020 20:39 UTC)
|
Re: string-unfold-right Per Bothner (04 Mar 2020 21:07 UTC)
|
Re: string-unfold-right
Arthur A. Gleckler
(04 Mar 2020 21:33 UTC)
|
Re: string-unfold-right
Per Bothner
(04 Mar 2020 22:40 UTC)
|
Re: string-unfold-right
John Cowan
(05 Mar 2020 00:34 UTC)
|
Re: string-unfold-right
Arthur A. Gleckler
(05 Mar 2020 05:59 UTC)
|
On 3/4/20 12:38 PM, Arthur A. Gleckler wrote: > On Tue, Mar 3, 2020 at 11:04 PM Per Bothner <xxxxxx@bothner.com <mailto:xxxxxx@bothner.com>> wrote: > > How about adding the sentence: > > If the mapper returns a string, the string is prepended to constructed string (without reversal). > > and this example: > > (string-unfold-right null? (lambda (x) (string #\[ (car x) #\])) cdr '(#\a #\b #\c)) > => "[c][b][a]" > > > Okay, please take a look at this diff: > > https://github.com/scheme-requests-for-implementation/srfi-140/commit/9091199a8c30274432428f634d7dc021d125887e That is ok, though I prefer to use => rather than = for evaluation result. In texinfo I use @result{} which in HTML becomes ⇒ aks ⇒ aka "rightwards double arrow". (Might be worth considering if you do a major re-formatting.) I.e. + => "[c][b][a]" I'm not sure the "but" phrasing is an improvement: I think (without reversal) is semi-implied by "prepending", hence the parenthesis (i.e. a clarification), rather than using "but". -- --Per Bothner xxxxxx@bothner.com http://per.bothner.com/