Título:
|
Liberal Typing for Functional Logic Programs
|
Autores:
|
López Fraguas, Francisco ;
Martín Martín, Enrique ;
Rodríguez Hortalá, Juan
|
Tipo de documento:
|
texto impreso
|
Editorial:
|
Springer, 2010
|
Dimensiones:
|
application/pdf
|
Nota general:
|
info:eu-repo/semantics/openAccess
info:eu-repo/semantics/restrictedAccess
|
Idiomas:
|
|
Palabras clave:
|
Estado = Publicado
,
Materia = Ciencias: Informática: Lenguajes de programación
,
Tipo = Artículo
|
Resumen:
|
We propose a new type system for functional logic programming which is more liberal than the classical Damas-Milner usually adopted, but it is also restrictive enough to ensure type soundness. Starting from Damas-Milner typing of expressions we propose a new notion of well-typed program that adds support for type-indexed functions, existential types, opaque higher-order patterns and generic functions-as shown by an extensive collection of examples that illustrate the possibilities of our proposal. In the negative side, the types of functions must be declared, and therefore types are checked but not inferred. Another consequence is that parametricity is lost, although the impact of this flaw is limited as "free theorems" were already compromised in functional logic programming because of non-determinism.
|
En línea:
|
https://eprints.ucm.es/35957/4/A%20liberal%20type%20system%20for%20functional%20logic%20programs.pdf
|