dc.creatorMelgratti, Hernan Claudio
dc.creatorPadovani, Luca
dc.date.accessioned2018-09-19T19:43:19Z
dc.date.available2018-09-19T19:43:19Z
dc.date.created2018-09-19T19:43:19Z
dc.date.issued2017-08
dc.identifierMelgratti, Hernan Claudio; Padovani, Luca; Chaperone contracts for higher-order sessions; ACM; Proceedings of the ACM on Programming Languages; 1; ICFP; 8-2017; 1-29
dc.identifier2475-1421
dc.identifierhttp://hdl.handle.net/11336/60327
dc.identifierCONICET Digital
dc.identifierCONICET
dc.description.abstractContracts have proved to be an effective mechanism that helps developers in identifying those modules of a program that violate the contracts of the functions and objects they use. In recent years, sessions have established as a key mechanism for realizing inter-module communications in concurrent programs. Just like values flow into or out of a function or object, messages are sent on, and received from, a session endpoint. Unlike conventional functions and objects, however, the kind, direction, and properties of messages exchanged in a session may vary over time, as the session progresses. This feature of sessions calls for contracts that evolve along with the session they describe.In this work, we extend to sessions the notion of chaperone contract (roughly, a contract that applies to a mutable object) and investigate the ramifications of contract monitoring in a higher-order language that features sessions. We give a characterization of correct module, one that honors the contracts of the sessions it uses, and prove a blame theorem. Guided by the calculus, we describe a lightweight implementation of monitored sessions as an OCaml module with which programmers can benefit from static session type checking and dynamic contract monitoring using an off-the-shelf version of OCaml.
dc.languageeng
dc.publisherACM
dc.relationinfo:eu-repo/semantics/altIdentifier/url/http://dl.acm.org/citation.cfm?doid=3136534.3110279
dc.relationinfo:eu-repo/semantics/altIdentifier/doi/http://dx.doi.org/10.1145/3110279
dc.rightshttps://creativecommons.org/licenses/by/2.5/ar/
dc.rightsinfo:eu-repo/semantics/openAccess
dc.subjectContracts
dc.subjectSession Types
dc.titleChaperone contracts for higher-order sessions
dc.typeinfo:eu-repo/semantics/article
dc.typeinfo:ar-repo/semantics/artículo
dc.typeinfo:eu-repo/semantics/publishedVersion


Este ítem pertenece a la siguiente institución