[图书][B] Types and programming languages

BC Pierce - 2002 - books.google.com
A comprehensive introduction to type systems and programming languages. A type system
is a syntactic method for automatically checking the absence of certain erroneous behaviors …

Scrap your boilerplate: a practical design pattern for generic programming

R Lämmel, SP Jones - ACM SIGPLAN Notices, 2003 - dl.acm.org
We describe a design pattern for writing programs that traverse data structures built from rich
mutually-recursive data types. Such programs often have a great deal of" boilerplate" code …

[PDF][PDF] First-class phantom types

J Cheney, R Hinze - 2003 - ecommons.cornell.edu
Classical phantom types are datatypes in which type constraints are expressed using type
variables that do not appear in the datatype cases themselves. They can be used to embed …

Dynamic software updating

M Hicks, JT Moore, S Nettles - ACM SIGPLAN Notices, 2001 - dl.acm.org
Many important applications must run continuously and without interruption, yet must be
changed to fix bugs or upgrade functionality. No prior general-purpose methodology for …

Strongly typed heterogeneous collections

O Kiselyov, R Lämmel, K Schupke - Proceedings of the 2004 ACM …, 2004 - dl.acm.org
A heterogeneous collection is a datatype that is capable of storing data of different types,
while providing operations for look-up, update, iteration, and others. There are various kinds …

Dynamic typing: Syntax and proof theory

F Henglein - Science of Computer Programming, 1994 - Elsevier
We present the dynamically typed λ-calculus, an extension of the statically typed λ-calculus
with a special type Dyn and explicit dynamic type coercions corresponding to run-time type …

Epigram: Practical programming with dependent types

C McBride - … Functional Programming: 5th International School, AFP …, 2005 - Springer
Find the type error in the following Haskell expression: if null xs then tail xs else xs You can't,
of course: this program is obviously nonsense unless you're a typechecker. The trouble is …

Theorems for free for free: Parametricity, with and without types

A Ahmed, D Jamner, JG Siek, P Wadler - Proceedings of the ACM on …, 2017 - dl.acm.org
The polymorphic blame calculus integrates static typing, including universal types, with
dynamic typing. The primary challenge with this integration is preserving parametricity: even …

The klaim project: Theory and practice

L Bettini, V Bono, R De Nicola, G Ferrari… - … , Security, and Analysis …, 2003 - Springer
LNCS 2874 - The Klaim Project: Theory and Practice Page 1 The Klaim Project: Theory and
Practice * Lorenzo Bettini1, Viviana Bono2, Rocco De Nicola1, Gianluigi Ferrari3, Daniele …

On polymorphic gradual typing

Y Igarashi, T Sekiyama, A Igarashi - Proceedings of the ACM on …, 2017 - dl.acm.org
We study an extension of gradual typing—a method to integrate dynamic typing and static
typing smoothly in a single language—to parametric polymorphism and its theoretical …