2019
DOI: 10.1016/j.scico.2018.08.005
|View full text |Cite
|
Sign up to set email alerts
|

Session-ocaml: A session-based library with polarities and lenses

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
26
0

Year Published

2019
2019
2023
2023

Publication Types

Select...
3
3
1

Relationship

3
4

Authors

Journals

citations
Cited by 19 publications
(26 citation statements)
references
References 9 publications
0
26
0
Order By: Relevance
“…In OCaml, Padovani [48] implements context free session types providing two kinds of encodings from context free session types into functional data structures. A different approach is taken in the work of Imai et al [34] where session types are encoded leveraging parametric polymorphism in OCaml to statically ensure linear usage of channels. Extending this approach, Imai et al [32] propose a library for global combinators, which are a set of functions for writing and verifying multiparty protocols in OCaml.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…In OCaml, Padovani [48] implements context free session types providing two kinds of encodings from context free session types into functional data structures. A different approach is taken in the work of Imai et al [34] where session types are encoded leveraging parametric polymorphism in OCaml to statically ensure linear usage of channels. Extending this approach, Imai et al [32] propose a library for global combinators, which are a set of functions for writing and verifying multiparty protocols in OCaml.…”
Section: Related Workmentioning
confidence: 99%
“…Following this original motivation, session types have been integrated into mainstream programming languages [1,21]. A popular technique is to use "encodings" of session types into linear or functional types to correctly implement structured communications in programming languages such as Haskell [46], OCaml [32,34,48] and Scala [67,68] (see Section 6).…”
Section: Introductionmentioning
confidence: 99%
“…which compute the sum of the i-th elements of two linearly typed arrays. The idea is to use a data structure called slot sequence [6], [9], [10], which holds multiple linear resources, in the input and output of commands in the parameterised monad. Lenses enable one to indirectly refer to linear resources while restricting non-linear access to them as before, thereby guaranteeing linearity.…”
Section: Lenses Focusing On Multiple Linear Resourcesmentioning
confidence: 99%
“…Prior work by the authors. This paper builds on Garrigue's Safeio API [6], and on the encoding of session types proposed by Imai et al [9], [10]. Both used some form of parameterised monads and lenses.…”
Section: Introductionmentioning
confidence: 99%
“…Session typing relies on a linear treatment of communication channels, in order to track the I/O actions performed on the channel against the intended session type. Most existing implementations adopt one of two approaches: monadic interfaces in functional languages [Imai et al 2020[Imai et al , 2019Orchard and Yoshida 2017], or łhybridž approaches that complement static typing with dynamic linearity checks Scalas et al 2017].…”
Section: Introductionmentioning
confidence: 99%