尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。
Abstract Behavioral software contracts allow programmers to strengthen the obligations and promises that they express with conventional types. They lack expressive power, though, when it comes to invariants that hold across several function calls. Trace contracts narrow this expressiveness gap. A trace contract is a predicate over the sequence of values that flow through function calls and returns. This paper presents a principled design, an implementation, and an evaluation of trace contracts.
DOI 原文 ·
@article{paperbot2151,
title = {Trace contracts},
author = {CAMERON MOY and MATTHIAS FELLEISEN},
journal = {Journal of Functional Programming},
volume = {33},
year = {2023},
doi = {10.1017/s0956796823000096}
}