From: Ian Price <ianprice90@googlemail.com>
To: Nala Ginrut <nalaginrut@gmail.com>
Cc: guile-devel@gnu.org
Subject: Re: [PATCH] wrong description of string-rindex
Date: Tue, 10 Sep 2013 11:49:30 +0100 [thread overview]
Message-ID: <87zjrllznp.fsf@Kagami.home> (raw)
In-Reply-To: <1378801326.4642.20.camel@Renee-desktop.suse> (Nala Ginrut's message of "Tue, 10 Sep 2013 16:22:06 +0800")
Nala Ginrut <nalaginrut@gmail.com> writes:
> - Scheme Procedure: string-rindex s char_pred [start [end]]
> Search through the string S from right to left, returning the index
> of the last occurrence of a character which
> ------
> It's actually 'first occurrence', according to the activity of function.
> And it's nonsense for 'last occurrence' since string-index does the same
> work.
I'm going to be honest, I don't think either of these are particularly
great wordings. They are both misleading in different ways, I feel.
Rather than 'first' or 'last', it would be better to use 'leftmost' and 'rightmost'
--
Ian Price -- shift-reset.com
"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"
next prev parent reply other threads:[~2013-09-10 10:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-10 8:22 [PATCH] wrong description of string-rindex Nala Ginrut
2013-09-10 10:49 ` Ian Price [this message]
2013-09-10 11:05 ` Nala Ginrut
-- strict thread matches above, loose matches on Subject: below --
2013-09-10 8:29 Nala Ginrut
2013-09-10 8:38 Nala Ginrut
2013-09-10 9:26 ` Taylan Ulrich B.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zjrllznp.fsf@Kagami.home \
--to=ianprice90@googlemail.com \
--cc=guile-devel@gnu.org \
--cc=nalaginrut@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).