Stream: Mirror: Isabelle Development Mailing List

Topic: NEWS: More robust "breakdown" exceptions in Isabelle/ML


view this post on Zulip Email Gateway (Nov 12 2026 at 21:27):

From: Makarius <makarius@sketis.net>

* ML *

This refers to Isabelle/867cbd97b013. It is another attempt to keep accidental
system breakdown out of the normal semantics of the ML program.

General.Size typically happens on blobs that are too large, notably for type
string and array (the latter is hardly ever used). In very rare situations,
exception General.Size shows up for different purposes in some odd libraries
--- we can probably afford that.

General.Overflow should show up extremely rarely, because our type int is
already unbounded and should never overflow.

Such very rare events are better not handled implicitly, as in our "try" family.

Makarius


Last updated: Dec 02 2026 at 13:38 UTC