Traditional techniques for implementing polymorphism use auniversal representation for objects of unknown type. Often, this forces a compiler to use universal representations even if the types of objects are known. We examine an alternative approach for compiling polymorphism where types are passed as arguments to polymorphic routines in order to determine the representation of an object. This approach allows monomorphic code to use natural, efficient representations, supports separate compilation of polymorphic definitions and, unlike coercion-based implementations of polymorphism, natural representations can be used for mutable objects such as refs and arrays. We are particularly interested in the typing properties of an intermediate lang...
Flexibility of programming and efficiency of program execution are two important features of a progr...
Our objective is to understand the notion of type in programming languages, present a model of typed...
AbstractThe Hindley/Milner discipline for polymorphic type inference in functional programming langu...
Traditional techniques for implementing polymorphism use a universal representation for objects of u...
Intensional polymorphism, the ability to dispatch to different routines based on types at run time...
Intensional polymorphism, the ability to dispatch to dierent routines based on types at run time, en...
There is a middle ground between parametric and ad-hoc polymorphism in which a computation can depen...
Polymorphism is an important language feature, allowing generic code to operate on many different ty...
Intensional polymorphism, the ability to dispatch to different routines based on types at run time, ...
Our objective is to understand the notion of type in programming languages, present a model of typed...
Statically typed languages with Hindley-Milner polymorphism have long been compiled using inefficien...
Statically typed languages with Hindley-Milner polymorphism have long been compiled using inefficien...
Modem functional languages feature polymorphic types whose data structures must be fixed, though the...
Compilers for polymorphic languages can use runtime type in-spection to support advanced implementat...
Type inference for structural polymorphism ---i.e. record and variant polymorphism--- has been an ac...
Flexibility of programming and efficiency of program execution are two important features of a progr...
Our objective is to understand the notion of type in programming languages, present a model of typed...
AbstractThe Hindley/Milner discipline for polymorphic type inference in functional programming langu...
Traditional techniques for implementing polymorphism use a universal representation for objects of u...
Intensional polymorphism, the ability to dispatch to different routines based on types at run time...
Intensional polymorphism, the ability to dispatch to dierent routines based on types at run time, en...
There is a middle ground between parametric and ad-hoc polymorphism in which a computation can depen...
Polymorphism is an important language feature, allowing generic code to operate on many different ty...
Intensional polymorphism, the ability to dispatch to different routines based on types at run time, ...
Our objective is to understand the notion of type in programming languages, present a model of typed...
Statically typed languages with Hindley-Milner polymorphism have long been compiled using inefficien...
Statically typed languages with Hindley-Milner polymorphism have long been compiled using inefficien...
Modem functional languages feature polymorphic types whose data structures must be fixed, though the...
Compilers for polymorphic languages can use runtime type in-spection to support advanced implementat...
Type inference for structural polymorphism ---i.e. record and variant polymorphism--- has been an ac...
Flexibility of programming and efficiency of program execution are two important features of a progr...
Our objective is to understand the notion of type in programming languages, present a model of typed...
AbstractThe Hindley/Milner discipline for polymorphic type inference in functional programming langu...