Javascript must be enabled to continue!
On polymorphic gradual typing
View through CrossRef
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 properties, including conservativity of typing and semantics over both statically and dynamically typed languages, type safety, blame-subtyping theorem, and the gradual guarantee—the so-called refined criteria, advocated by Siek et al. We develop System F
G
, which is a gradually typed extension of System F with the dynamic type and a new type consistency relation, and translation to a new polymorphic blame calculus System F
C
, which is based on previous polymorphic blame calculi by Ahmed et al. The design of System F
G
and System F
C
, geared to the criteria, is influenced by the distinction between static and gradual type variables, first observed by Garcia and Cimini. This distinction is also useful to execute statically typed code without incurring additional overhead to manage type names as in the prior calculi. We prove that System F
G
satisfies most of the criteria: all but the hardest property of the gradual guarantee on semantics. We show that a key conjecture to prove the gradual guarantee leads to the Jack-of-All-Trades property, conjectured as an important property of the polymorphic blame calculus by Ahmed et al.
Association for Computing Machinery (ACM)
Title: On polymorphic gradual typing
Description:
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 properties, including conservativity of typing and semantics over both statically and dynamically typed languages, type safety, blame-subtyping theorem, and the gradual guarantee—the so-called refined criteria, advocated by Siek et al.
We develop System F
G
, which is a gradually typed extension of System F with the dynamic type and a new type consistency relation, and translation to a new polymorphic blame calculus System F
C
, which is based on previous polymorphic blame calculi by Ahmed et al.
The design of System F
G
and System F
C
, geared to the criteria, is influenced by the distinction between static and gradual type variables, first observed by Garcia and Cimini.
This distinction is also useful to execute statically typed code without incurring additional overhead to manage type names as in the prior calculi.
We prove that System F
G
satisfies most of the criteria: all but the hardest property of the gradual guarantee on semantics.
We show that a key conjecture to prove the gradual guarantee leads to the Jack-of-All-Trades property, conjectured as an important property of the polymorphic blame calculus by Ahmed et al.
Related Results
Unlock Large Potentials of Standard Mud Gas for Real-Time Fluid Typing
Unlock Large Potentials of Standard Mud Gas for Real-Time Fluid Typing
Standard mud gas data is part of the basic mudlogging service and is mainly used for safety. Although the data is available for all wells, it is not used for real-time fluid typing...
Unlock Large Potentials of Standard Mud Gas for Real-Time Fluid Typing
Unlock Large Potentials of Standard Mud Gas for Real-Time Fluid Typing
Standard mud gas data are part of the basic mud-logging service and are mainly used for safety. Although the data are available for all wells, it is not used for real-time fluid ty...
Validation of Binary Typing for
Staphylococcus aureus
Strains
Validation of Binary Typing for
Staphylococcus aureus
Strains
ABSTRACT
Most of the DNA-based methods for genetic typing of
Staphylococcus aureus
strains generate complex banding patterns. Therefo...
Complement genetics
Complement genetics
Abstract
With the advent of recombinant DNA methodology about 20 years ago, tremendous progress has been made in the definition of the genetic basis of the complemen...
Testing and Evaluating Typing Ability in Research Writing
Testing and Evaluating Typing Ability in Research Writing
Before a person can generate writing that can be deemed respectable when using a keyboard, it is usually acknowledged that they must first have exceptional typing talents. This is ...
Development of an INDEL typing system for <i>ctx</i>+ strains of <i>Vibrio cholerae</i> from the seventh pandemic
Development of an INDEL typing system for <i>ctx</i>+ strains of <i>Vibrio cholerae</i> from the seventh pandemic
BACKGROUND: The seventh cholera pandemic is accompanied by the formation of Vibrio cholerae clones with new genetic properties, including those with the ability to spread pandemica...
Abstract 26 HLA Analysis of the Australian Cord Blood Banks: How Diverse Are Donors?
Abstract 26 HLA Analysis of the Australian Cord Blood Banks: How Diverse Are Donors?
Abstract
Introduction
The network of public cord blood banks (CBB) in Australia, known as AusCord, is comprised of CBB located i...
MeltingPlot, a user-friendly online tool for epidemiological investigation using High Resolution Melting data
MeltingPlot, a user-friendly online tool for epidemiological investigation using High Resolution Melting data
Abstract
Background
The rapid identification of pathogen clones is pivotal for effective epidemiological control strategies in hospital settings. Hi...

