Use este identificador para citar ou linkar para este item: http://www.repositorio.ufop.br/jspui/handle/123456789/7172
Título: Terminating constraint set satisfiability and simplification algorithms for context-dependent overloading.
Autor(es): Ribeiro, Rodrigo Geraldo
Figueiredo, Carlos Camarão de
Figueiredo, Lucília Camarão de
Palavras-chave: Haskell
Constraint set simplification
Termination
Data do documento: 2013
Referência: RIBEIRO, R. G.; FIGUEIREDO, C. C. de; FIGUEIREDO, L. C. de. Terminating constraint set satisfiability and simplification algorithms for context-dependent overloading. Journal of the Brazilian Computer Society, v. 19, n. 4, p. 423-432, nov. 2013. Disponível em: <https://link.springer.com/article/10.1007/s13173-013-0107-9>. Acesso em: 20 jan. 2017.
Resumo: Algorithms for constraint set satisfiability and simplification of Haskell type class constraints are used during type inference in order to allow the inference of more accurate types and to detect ambiguity. Unfortunately, both constraint set satisfiability and simplification are in general undecidable, and the use of these algorithms may cause nontermination of type inference. This paper presents algorithms for these problems that terminate on any given input, based on the use of a criterion that is tested on each recursive step. The use of this criterion eliminates the need of imposing syntactic conditions on Haskell type class and instance declarations in order to guarantee termination of type inference in the presence of multi-parameter type classes, and allows program compilation without the need of compiler flags for lifting such restrictions. Undecidability of the problems implies the existence of instances for which the algorithm incorrectly reports unsatisfiability, but we are not aware of any practical example where this occurs.
URI: http://www.repositorio.ufop.br/handle/123456789/7172
Link para o artigo: https://link.springer.com/article/10.1007/s13173-013-0107-9
DOI: https://doi.org/10.1007/s13173-013-0107-9
ISSN: 1678-4804
Aparece nas coleções:DECOM - Artigos publicados em periódicos

Arquivos associados a este item:
Arquivo Descrição TamanhoFormato 
ARTIGO_TerminatingConstraintSet.pdf
  Until 2030-01-20
530,75 kBAdobe PDFVisualizar/Abrir


Os itens no repositório estão protegidos por copyright, com todos os direitos reservados, salvo quando é indicado o contrário.