Computer Software
Print ISSN : 0289-6540
Extensional Polymorphism by Flow Graph Dispatching
Jun FURUSE
Author information
JOURNAL FREE ACCESS

2005 Volume 22 Issue 2 Pages 2_90-2_94

Details
Abstract
Extensional polymorphism provides non-parametric polymorphic values called generic values in ML. We pointed out semantical and efficiency problems of classical compilation of generic values by type dispatching. To overcome these difficulties, we proposed a new compilation by dispatching directed integer graphs called “flows” which encode typing information of generic values. By reusing well-typed witness obtained in static typing, troublesome run-time type pattern matches become redundant and can be simplified to mere array accesses, which provide better semantics and efficiency.
Content from these authors
© Japan Society for Software Science and Technology 2005
Previous article
feedback
Top