Sciweavers

APLAS
2008
ACM

Extensional Universal Types for Call-by-Value

14 years 2 months ago
Extensional Universal Types for Call-by-Value
Abstract. We propose c2-calculus, which is a second-order polymorphic call-by-value calculus with extensional universal types. Unlike product types or function types in call-by-value, extensional universal types are genuinely right adjoint to the weakening, i.e., -equality and equality hold for not only values but all terms. We give monadic style categorical semantics, so that the results can be applied also to languages like Haskell. To demonstrate validity of the calculus, we construct concrete models for the calculus in a generic manner, exploiting "relevant" parametricity. On such models, we can obtain a reasonable class of monads consistent with extensional universal types. This class admits polynomial-like constructions, and includes non-termination, exception, global state, input/output, and list-non-determinism.
Kazuyuki Asada
Added 12 Oct 2010
Updated 12 Oct 2010
Type Conference
Year 2008
Where APLAS
Authors Kazuyuki Asada
Comments (0)