Published 2016
| Version v1
Publication
Incremental Rebinding with Name Polymorphism
Creators
Contributors
Description
We propose an extension with name variables of a calculus for incremental rebinding of code introduced in previous work. Names, which can be either constants or variables, are used as interface of fragments of code with free variables. Open code can be dynamically rebound by applying a rebinding, which is an association from names to terms. Rebinding is incremental, since rebindings can contain free variables as well, and can be manipulated by operators such as overriding and renaming. By using name variables, it is possible to write terms which are parametric in their nominal interface and/or in the way it is adapted, greatly enhancing expressivity. The type system is correspondingly extended by constrained name-polymorphic types, where simple inequality constraints prevent conflicts among parametric name interfaces.
Additional details
Identifiers
- URL
- http://hdl.handle.net/11567/856998
- URN
- urn:oai:iris.unige.it:11567/856998
Origin repository
- Origin repository
- UNIGE