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/