中文
相关论文

相关论文: Koka: Programming with Row Polymorphic Effect Type…

200 篇论文

We previously developed a polymorphic type system and a type checker for a multithreaded lock-based polymorphic typed assembly language (MIL) that ensures that well-typed programs do not encounter race conditions. This paper extends such…

编程语言 · 计算机科学 2010-02-05 Vasco T. Vasconcelos , Francisco Martins , Tiago Cogumbreiro

We present a novel approach to generic programming over extensible data types. Row types capture the structure of records and variants, and can be used to express record and variant subtyping, record extension, and modular composition of…

编程语言 · 计算机科学 2023-07-21 Alex Hubers , J. Garrett Morris

Algebraic effects & handlers are a modular approach for modeling side-effects in functional programming. Their syntax is defined in terms of a signature of effectful operations, encoded as a functor, that are plugged into the free monad;…

编程语言 · 计算机科学 2023-02-06 Birthe van den Berg , Tom Schrijvers

Type classes are a popular tool for implementing generic algorithms and data structures without loss of efficiency, bridging the gap between parametric and ad-hoc polymorphism. Since their initial development in Haskell, they now feature…

编程语言 · 计算机科学 2025-03-03 Dimi Racordon , Eugene Flesselle , Cao Nguyen Pham

Most type systems that support polymorphic functions are based on a version of System-F. We argue that this limits useful programming paradigms for languages with lazy evaluation. We motivate an extension of System-F alleviating this…

编程语言 · 计算机科学 2016-12-15 S. Doaitse Swierstra , Marcos Viera , Atze Dijkstra

We present a gradually typed language, GrEff, with effects and handlers that supports migration from unchecked to checked effect typing. This serves as a simple model of the integration of an effect typing discipline with an existing…

编程语言 · 计算机科学 2023-04-06 Max S. New , Eric Giovannini , Daniel R. Licata

We present a novel dependent linear type theory in which the multiplicity of some variable-i.e., the number of times the variable can be used in a program-can depend on other variables. This allows us to give precise resource annotations to…

编程语言 · 计算机科学 2026-05-20 Maximilian Doré

Our aim here is to illustrate how the benefits of structural corecursion can be found in a broader swath of the programming landscape than previously thought. Beginning from a tutorial on structural corecursion in the total, pure functional…

编程语言 · 计算机科学 2021-03-15 Paul Downen , Zena M. Ariola

Dependent types provide a lightweight and modular means to integrate programming and formal program verification. In particular, the types of programs written in dependently typed programming languages (Agda, Idris, F*, etc.) can be used to…

计算机科学中的逻辑 · 计算机科学 2017-10-10 Danel Ahman

We extend intersection types to a computational $\lambda$-calculus with algebraic operations \`a la Plotkin and Power. We achieve this by considering monadic intersections, whereby computational effects appear not only in the operational…

编程语言 · 计算机科学 2024-01-24 Francesco Gavazzo , Riccardo Treglia , Gabriele Vanoni

We show that the model of quantum computation based on density matrices and superoperators can be decomposed in a pure classical (functional) part and an effectful part modeling probabilities and measurement. The effectful part can be…

量子物理 · 物理学 2007-05-23 J. K. Vizzotto , T. Altenkirch , A. Sabry

This talk describes how a combination of symbolic computation techniques with first-order theorem proving can be used for solving some challenges of automating program analysis, in particular for generating and proving properties about the…

编程语言 · 计算机科学 2017-04-17 Laura Kovacs

While modern software development heavily uses versioned packages, programming languages rarely support the concept of versions in their semantics, which makes software updates more bulky and unsafe. This paper proposes a programming…

编程语言 · 计算机科学 2021-07-16 Yudai Tanabe , Luthfan Anshar Lubis , Tomoyuki Aotani , Hidehiko Masuhara

Effect handlers are a powerful abstraction for defining, customising, and composing computational effects. Statically ensuring that all effect operations are handled requires some form of effect system, but using a traditional effect system…

编程语言 · 计算机科学 2025-03-20 Wenhao Tang , Leo White , Stephen Dolan , Daniel Hillerström , Sam Lindley , Anton Lorenzen

We present three projects concerned with applications of proof assistants in the area of programming language theory and mathematics. The first project is about a certified compilation technique for a domain-specific programming language…

编程语言 · 计算机科学 2018-11-29 Danil Annenkov

We present PolySing#, a calculus that models process interaction based on copyless message passing, in the style of Singularity OS. We equip the calculus with a type system that accommodates polymorphic endpoint types, which are a variant…

编程语言 · 计算机科学 2011-08-03 Viviana Bono , Luca Padovani

Monads are a popular tool for the working functional programmer to structure effectful computations. This paper presents polymonads, a generalization of monads. Polymonads give the familiar monadic bind the more general type forall a,b. L a…

编程语言 · 计算机科学 2014-06-10 Michael Hicks , Gavin Bierman , Nataliya Guts , Daan Leijen , Nikhil Swamy

Algebraic effects and handlers are a powerful abstraction mechanism to represent and implement control effects. In this work, we study their extension with parametric polymorphism that allows abstracting not only expressions but also…

编程语言 · 计算机科学 2020-01-16 Taro Sekiyama , Atsushi Igarashi

When scripts in untyped languages grow into large programs, maintaining them becomes difficult. A lack of explicit type annotations in typical scripting languages forces programmers to must (re)discover critical pieces of design information…

编程语言 · 计算机科学 2011-06-15 Sam Tobin-Hochstadt , Matthias Felleisen

It is notoriously hard to correctly implement a multiparty protocol which involves asynchronous/concurrent interactions and the constraints on states of multiple participants. To assist developers in implementing such protocols, we propose…

编程语言 · 计算机科学 2018-06-26 Eduard Kamburjan , Tzu-Chun Chen