Session-typed concurrent contracts

H Gommerstadt, L Jia, F Pfenning - … of Logical and Algebraic Methods in …, 2022 - Elsevier
In sequential languages, dynamic contracts are usually expressed as boolean functions
without externally observable effects, written within the language. We propose an analogous …

TreatJS: Higher-order contracts for JavaScript

M Keil, P Thiemann - arxiv preprint arxiv:1504.08110, 2015 - arxiv.org
TreatJS is a language embedded, higher-order contract system for JavaScript which
enforces contracts by run-time monitoring. Beyond providing the standard abstractions for …

Contracts and specifications for functional logic programming

S Antoy, M Hanus - International Symposium on Practical Aspects of …, 2012 - Springer
The expressive power of functional logic languages supports high-level specifications as
well as efficient implementations of problems in the same language. If specifications are …

Combining static and dynamic contract checking for Curry

M Hanus - Fundamenta Informaticae, 2020 - content.iospress.com
Static type systems are usually not sufficient to express all requirements on function calls.
Hence, contracts with pre-and postconditions can be used to express more complex …

The interaction of contracts and laziness

M Degen, P Thiemann, S Wehr - … of the ACM SIGPLAN 2012 workshop …, 2012 - dl.acm.org
Contract monitoring for strict higher-order functional languages has an intuitive meaning, an
established theoretical basis, and a standard implementation. For lazy functional languages …

Asynchronous assertions

EE Aftandilian, SZ Guyer, M Vechev, E Yahav - ACM SIGPLAN Notices, 2011 - dl.acm.org
Assertions are a familiar and widely used bug detection technique. Traditional assertion
checking, however, is performed synchronously, imposing its full cost on the runtime of the …

Expressing contract monitors as patterns of communication

C Swords, A Sabry, S Tobin-Hochstadt - ACM SIGPLAN Notices, 2015 - dl.acm.org
We present a new approach to contract semantics which expresses myriad monitoring
strategies using a small core of foundational communication primitives. This approach …

[ΒΙΒΛΙΟ][B] Safe and effective contracts

AE Shinnar - 2011 - search.proquest.com
This dissertation introduces a framework enabling the dynamic verification of expressive
specifications. Inspired by formal verification methods, this framework supports assertion …

An extended account of contract monitoring strategies as patterns of communication

C Swords, A Sabry, S Tobin-Hochstadt - Journal of Functional …, 2018 - cambridge.org
Contract systems have come to play a vital role in many aspects of software engineering.
This has resulted in a wide variety of approaches to enforcing contracts—ranging from the …

Foundations for behavioral higher-order contracts

C Dimoulas - 2012 - search.proquest.com
Contracts are a popular mechanism for enhancing the interface of components. In the world
of first-order functions, programmers embrace contracts because they write them in a familiar …