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

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

^ permalink raw reply	[flat|nested] 1+ messages in thread

only message in thread, back to index

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

caml-list - the Caml user's mailing list

Archives are clonable: git clone --mirror https://inbox.ocaml.org/caml-list

AGPL code for this site: git clone https://public-inbox.org/ public-inbox