We define a type and effect system for a lambda-calculus extended with side effects, in the form of primitives for creating and accessing resources. The analysis correctly over-approximates the sequences of resource accesses performed by a program at run-time. To accurately analyse the binding between the creation of a resource and its accesses, our system exploits a new class of types. Our nu-types have the form nu N.tau |> H, where the names in N are bound both in the type tau and in the effect H, that represents the sequences of resource accesses.
ν-types for Effects and Freshness Analysis / Bartoletti, Massimo; Degano, Pierpaolo; Zunino, Roberto; Ferrari, Gian Luigi. - ELETTRONICO. - (2009), pp. 1-58.
ν-types for Effects and Freshness Analysis
Zunino, Roberto;
2009-01-01
Abstract
We define a type and effect system for a lambda-calculus extended with side effects, in the form of primitives for creating and accessing resources. The analysis correctly over-approximates the sequences of resource accesses performed by a program at run-time. To accurately analyse the binding between the creation of a resource and its accesses, our system exploits a new class of types. Our nu-types have the form nu N.tau |> H, where the names in N are bound both in the type tau and in the effect H, that represents the sequences of resource accesses.File | Dimensione | Formato | |
---|---|---|---|
nu-types-TR.pdf
accesso aperto
Tipologia:
Versione editoriale (Publisher’s layout)
Licenza:
Tutti i diritti riservati (All rights reserved)
Dimensione
702.52 kB
Formato
Adobe PDF
|
702.52 kB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione