中文
相关论文

相关论文: Linear effects, exceptions, and resource safety: a…

200 篇论文

Combining local exceptions and first class continuations leads to programs with complex control flow, as well as the possibility of expressing powerful constructs such as resumable exceptions. We describe and compare games models for a…

计算机科学中的逻辑 · 计算机科学 2013-09-06 James Laird

Algebraic effects are computational effects that can be represented by an equational theory whose operations produce the effects at hand. The free model of this theory induces the expected computational monad for the corresponding effect.…

计算机科学中的逻辑 · 计算机科学 2015-07-01 Gordon D Plotkin , Matija Pretnar

Twenty years after its introduction by Ehrhard and Regnier, differentiation in $\lambda$-calculus and in linear logic is now a celebrated tool. In particular, it allows to establish a Taylor expansion formula for various $\lambda$-calculi,…

计算机科学中的逻辑 · 计算机科学 2025-11-26 Rémy Cerda , Lionel Vaux Auclair

We study the algebraic effects and handlers as a way to support decision-making abstractions in functional programs, whereas a user can ask a learning algorithm to resolve choices without implementing the underlying selection mechanism, and…

编程语言 · 计算机科学 2022-03-30 Ugo Dal Lago , Francesco Gavazzo , Alexis Ghyselen

We investigate program equivalence for linear higher-order(sequential) languages endowed with primitives for computational effects. More specifically, we study operationally-based notions of program equivalence for a linear…

编程语言 · 计算机科学 2021-06-25 Ugo Dal Lago , Francesco Gavazzo

In semantics and in programming practice, algebraic concepts such as monads or, essentially equivalently, (large) Lawvere theories are a well-established tool for modelling generic side-effects. An important issue in this context are…

计算机科学中的逻辑 · 计算机科学 2015-03-17 Sergey Goncharov , Lutz Schröder

In our paper "Uniformity and the Taylor expansion of ordinary lambda-terms" (with Laurent Regnier), we studied a translation of lambda-terms as infinite linear combinations of resource lambda-terms, from a calculus similar to Boudol's…

计算机科学中的逻辑 · 计算机科学 2010-01-20 Thomas Ehrhard

Iteration is a programming operation that traditionally refers to visiting the elements of a data structure in sequence. However, modern programming systems such as Rust, Java, and C# generalise iteration far beyond the traditional use…

计算机科学中的逻辑 · 计算机科学 2022-10-19 Aurel Bílý , Jonas Hansen , Peter Müller , Alexander J. Summers

One of the long-standing problems on logic programming is to express {\it priority}-related operations -- default reasoning, if-then-else, cut, exception handling, etc -- in a high-level way. We argue that this problem can be solved by…

计算机科学中的逻辑 · 计算机科学 2019-10-24 Keehang Kwon

There exist many techniques for automatically deriving parametric resource (or cost) bounds by analyzing the source code of a program. These techniques work effectively for a large class of programs and language features. However, non-local…

编程语言 · 计算机科学 2026-03-04 Ethan Chu , Yiyang Guo , Jan Hoffmann

Effectful programs interact in ways that go beyond simple input-output, making compositional reasoning challenging. Existing work has shown that when such programs are ``separate'', i.e., when programs do not interfere with each other, it…

编程语言 · 计算机科学 2023-03-06 Pedro H. Azevedo de Amorim , Justin Hsu

The selection monad on a set consists of selection functions. These select an element from the set, based on a loss (dually, reward) function giving the loss resulting from a choice of an element. Abadi and Plotkin used the monad to model a…

编程语言 · 计算机科学 2025-04-08 Gordon Plotkin , Ningning Xie

This paper studies the design of programming languages with handlers of higher-order effectful operations -- effectful operations that may take in computations as arguments or return computations as output. We present and analyse a core…

编程语言 · 计算机科学 2025-11-11 Zhixuan Yang , Nicolas Wu

Programming languages with algebraic effects often track the computations' effects using type-and-effect systems. In this paper, we propose to view an algebraic effect theory of a computation as a variable context; consequently, we propose…

编程语言 · 计算机科学 2021-08-24 Nikita Zyuzin , Aleksandar Nanevski

Ordered logics and type systems have been used in a variety of applications including computational linguistics, memory allocation, stream processing, logical frameworks, parametricity, and enforcing security protocols. In most…

计算机科学中的逻辑 · 计算机科学 2026-05-20 Sophia Roshal , Frank Pfenning

We explore asynchronous programming with algebraic effects. We complement their conventional synchronous treatment by showing how to naturally also accommodate asynchrony within them, namely, by decoupling the execution of operation calls…

编程语言 · 计算机科学 2024-09-25 Danel Ahman , Matija Pretnar

The $\lambda\mu$-calculus plays a central role in the theory of programming languages as it extends the Curry-Howard correspondence to classical logic. A major drawback is that it does not satisfy B\"ohm's Theorem and it lacks the…

计算机科学中的逻辑 · 计算机科学 2024-09-19 Davide Barbarossa

Stack allocation and first-class functions don't naturally mix together. In this paper we show that a type and effect system can be the detergent that helps these features form a nice emulsion. Our interest in this problem comes from our…

编程语言 · 计算机科学 2012-01-04 Jeremy G. Siek , Michael M. Vitousek , Jonathan D. Turner

Type-preserving translations are effective rigorous tools in the study of core programming calculi. In this paper, we develop a new typed translation that connects sequential and concurrent calculi; it is governed by type systems that…

编程语言 · 计算机科学 2022-06-01 Joseph W. N. Paulus , Daniele Nantes-Sobrinho , Jorge A. Pérez

Sequential effect systems are a class of effect system that exploits information about program order, rather than discarding it as traditional commutative effect systems do. This extra expressive power allows effect systems to reason about…

编程语言 · 计算机科学 2020-05-18 Colin S. Gordon
‹ 上一页 1 2 3 10 下一页 ›