caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Checking for absence of exception usage by some functions
@ 2021-02-06  9:22 Markus Elfring
  0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2021-02-06  9:22 UTC (permalink / raw)
  To: caml-list


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?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-06  9:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-06  9:22 [Caml-list] Checking for absence of exception usage by some functions Markus Elfring

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).