Resource-oriented programming with graded modal types
- đ¤ Speaker: Vilem Liepelt, University of Kent
- đ Date & Time: Thursday 18 April 2019, 14:00 - 15:00
- đ Venue: FW26
Abstract
Linear types, derived from Girard’s Linear Logic, provide a means to expose safe interfaces to stateful protocols and language features, e.g. channels and file handles. Data is delineated into two camps: unconstrained values which can be consumed or discarded arbitrarily and ‘resources’ which must be used exactly once. Bounded Linear Logic (BLL) [1], allows tracking a more nuanced notion of nonlinearity via the natural numbers semiring which is baked into its proof rules. Our system of Graded Modal Types generalises BLL by parameterising over the resource algebra, thus allowing a wide array of analyses to be captured in the type system.
In this talk we will explore how graded modal types and linearity conveniently extend our typical toolkit of parametric polymorphism and indexed types, allowing us to reason about pure and effectful programs in a novel, resource-oriented, manner. Session typed channels and mutable arrays are just two examples of programming idioms that can be provided in such a language without having to give up safety and compositionality. We will see this in action via Granule [2], our implementation of a functional language with a type system which supports all these features.
1. Girard, Scedrov, Scott (1992)
Series This talk is part of the Logic and Semantics Seminar (Computer Laboratory) series.
Included in Lists
- All Talks (aka the CURE list)
- bld31
- Cambridge talks
- Computing and Mathematics
- Department of Computer Science and Technology talks and seminars
- FW26
- Interested Talks
- Logic and Semantics Seminar (Computer Laboratory)
- Martin's interesting talks
- School of Technology
- tcw57âs list
- Trust & Technology Initiative - interesting events
- yk373's list
- yk449
Note: Ex-directory lists are not shown.
![[Talks.cam]](/static/images/talkslogosmall.gif)

Vilem Liepelt, University of Kent
Thursday 18 April 2019, 14:00-15:00