[图书][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 …
is a syntactic method for automatically checking the absence of certain erroneous behaviors …
Scrap your boilerplate: a practical design pattern for generic programming
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 …
mutually-recursive data types. Such programs often have a great deal of" boilerplate" code …
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 …
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 …
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 …
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
The polymorphic blame calculus integrates static typing, including universal types, with
dynamic typing. The primary challenge with this integration is preserving parametricity: even …
dynamic typing. The primary challenge with this integration is preserving parametricity: even …
The klaim project: Theory and practice
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 …
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 …
typing smoothly in a single language—to parametric polymorphism and its theoretical …