From: Markus Elfring <Markus.Elfring@web.de>
To: caml-list@inria.fr
Subject: [Caml-list] Checking for absence of exception usage by some functions
Date: Sat, 6 Feb 2021 10:22:30 +0100 [thread overview]
Message-ID: <a3fe507e-d5b3-ab18-9a2a-4b0a508cafa6@web.de> (raw)
Hello,
OCaml belongs also to the category of programming languages which support
to raise (or throw) exceptions.
This functionality triggers some software development consequences.
There are also function implementations to consider which will never raise
(or throw) exceptions because they were designed in the way to provide some
data only by their return values.
How are the chances to express such an implementation detail in corresponding
function signatures so that compilers can provide source code checks accordingly?
Regards,
Markus
reply other threads:[~2021-02-06 9:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=a3fe507e-d5b3-ab18-9a2a-4b0a508cafa6@web.de \
--to=markus.elfring@web.de \
--cc=caml-list@inria.fr \
/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