You are required to read and agree to the below before accessing a full-text version of an article in the IDE article repository.
The full-text document you are about to access is subject to national and international copyright laws. In most cases (but not necessarily all) the consequence is that personal use is allowed given that the copyright owner is duly acknowledged and respected. All other use (typically) require an explicit permission (often in writing) by the copyright owner.
For the reports in this repository we specifically note that
- the use of articles under IEEE copyright is governed by the IEEE copyright policy (available at http://www.ieee.org/web/publications/rights/copyrightpolicy.html)
- the use of articles under ACM copyright is governed by the ACM copyright policy (available at http://www.acm.org/pubs/copyright_policy/)
- technical reports and other articles issued by M‰lardalen University is free for personal use. For other use, the explicit consent of the authors is required
- in other cases, please contact the copyright owner for detailed information
By accepting I agree to acknowledge and respect the rights of the copyright owner of the document I am about to access.
If you are in doubt, feel free to contact webmaster@ide.mdh.se
Elemental Function Overloading in Explicitly Typed Languages
Publication Type:
Conference/Workshop Paper
Venue:
Proc. 12th International Workshop of Implementation of Functional Languages
Abstract
Elemental intrinsic overloading is used successfully in vector parallel and
data parallel programming languages. It allows scalar operators to be
applied to arguments of array type, where the semantics is a new array where
every element is the result of applying the operator to the corresponding
elements of the argument array. This type of overloading makes programs with
extensive use of array operations easier to read, write and
maintain. However, it is typically restricted to allow overloading only of
built-in functions and defined only for operators on one parallel data type,
mostly arrays. In order to extend this feature to a larger class of
languages, we propose elemental function overloading together with a
polymorphic type discipline. Elemental function overloading, which is
defined for all functions, also incorporates promotion of "scalar"
values. In this paper we formalize the concept of elemental functional
overloading in an explicitly typed polymorphic language and present an
algorithm for resolving this overloading. We also make a preliminary study
of elemental function overloading in an implicitly typed polymorphic
language with type inference.
Bibtex
@inproceedings{Thornberg212,
author = {Claes Thornberg and Bj{\"o}rn Lisper},
title = {Elemental Function Overloading in Explicitly Typed Languages},
editor = {Markus Mohnen, Pieter Koopman},
pages = {31--46},
month = {September},
year = {2000},
booktitle = {Proc. 12th International Workshop of Implementation of Functional Languages},
url = {http://www.es.mdu.se/publications/212-}
}