Skip to main content

Showing 1–2 of 2 results for author: Chappe, N

Searching in archive cs. Search in all archives.
.
  1. Choice Trees: Representing Nondeterministic, Recursive, and Impure Programs in Coq

    Authors: Nicolas Chappe, Paul He, Ludovic Henrio, Yannick Zakowski, Steve Zdancewic

    Abstract: This paper introduces Choice Trees (ctrees), a monad for modeling nondeterministic, recursive, and impure programs in Coq. Inspired by Xia et al.'s itrees, this novel data structure embeds computations into coinductive trees with three kind of nodes: external events, and two variants of nondeterministic branching. This apparent redundancy allows us to provide shallow embedding of denotational mode… ▽ More

    Submitted 13 November, 2022; originally announced November 2022.

  2. An Optimised Flow for Futures: From Theory to Practice

    Authors: Nicolas Chappe, Ludovic Henrio, Amaury Maillé, Matthieu Moy, Hadrien Renaud

    Abstract: A future is an entity representing the result of an ongoing computation. A synchronisation with a "get" operation blocks the caller until the computation is over, to return the corresponding value. When a computation in charge of fulfilling a future delegates part of its processing to another task, mainstream languages return nested futures, and several "get" operations are needed to retrieve the… ▽ More

    Submitted 15 July, 2021; originally announced July 2021.

    Journal ref: The Art, Science, and Engineering of Programming, 2022, Vol. 6, Issue 1, Article 3