caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "David Allsopp" <dra-news@metastack.com>
To: "'Markus Elfring'" <Markus.Elfring@web.de>,
	"Nicolás Ojeda Bär" <nicolas.ojeda.bar@lexifi.com>
Cc: <caml-list@inria.fr>
Subject: RE: [Caml-list] Checking the usage of “Str.search_forward”
Date: Fri, 7 Jun 2019 09:04:13 +0100	[thread overview]
Message-ID: <000001d51d07$99116bd0$cb344370$@metastack.com> (raw)
In-Reply-To: <61db8f0b-e493-cab8-47fc-62c976e3904d@web.de>

Markus Elfring wrote:
> > Are you sure that String.length xb >= 6 ?
> 
> * Do you expect the information “Raises Invalid_argument if the string
>   length is shorter than the passed start position”?

Yes, cf. https://caml.inria.fr/pub/docs/manual-ocaml/libref/String.html#VALindex_from

> * Would an extension become helpful for the documentation of this 
> function call?

Yes - would you be able to make a pull request?


David



      reply	other threads:[~2019-06-07  8:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-06  8:20 Markus Elfring
2019-06-06 11:34 ` Nicolás Ojeda Bär
2019-06-06 14:07   ` Markus Elfring
2019-06-07  8:04     ` David Allsopp [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000001d51d07$99116bd0$cb344370$@metastack.com' \
    --to=dra-news@metastack.com \
    --cc=Markus.Elfring@web.de \
    --cc=caml-list@inria.fr \
    --cc=nicolas.ojeda.bar@lexifi.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 NNTP newsgroup(s).