From: Nala Ginrut <nalaginrut@gmail.com>
To: Ian Price <ianprice90@googlemail.com>
Cc: guile-devel@gnu.org
Subject: Re: [PATCH] wrong description of string-rindex
Date: Tue, 10 Sep 2013 19:05:44 +0800 [thread overview]
Message-ID: <1378811144.4642.32.camel@Renee-desktop.suse> (raw)
In-Reply-To: <87zjrllznp.fsf@Kagami.home>
On Tue, 2013-09-10 at 11:49 +0100, Ian Price wrote:
> 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'
>
It's the word used in srfi-13
----------------------------------cut--------------------------------
string-index (string-index-right) searches through the string from the
left (right), returning the index of the first occurrence of a character
which
----------------------------------end--------------------------------
next prev parent reply other threads:[~2013-09-10 11:05 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
2013-09-10 11:05 ` Nala Ginrut [this message]
-- 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=1378811144.4642.32.camel@Renee-desktop.suse \
--to=nalaginrut@gmail.com \
--cc=guile-devel@gnu.org \
--cc=ianprice90@googlemail.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).