Doesn't ADA have some method of checking if the input/output of a function is within bound? Can't remember if its a runtime or compile check however.
But the concept of function contract verification would be interesting.
But the concept of function contract verification would be interesting.
[1] https://www.adacore.com/gems/gem-31 [2] https://docs.adacore.com/spark2014-docs/html/ug/en/source/as...