Hostname: page-component-89b8bd64d-46n74 Total loading time: 0 Render date: 2026-05-13T20:47:03.137Z Has data issue: false hasContentIssue false

Dependent ML An approach to practical programming with dependent types

Published online by Cambridge University Press:  01 March 2007

HONGWEI XI*
Affiliation:
Computer Science Department, Boston University, Boston, MA, USA (e-mail: hwxi@cs.bu.edu)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

We present an approach to enriching the type system of ML with a restricted form of dependent types, where type index terms are required to be drawn from a given type index language that is completely separate from run-time programs, leading to the DML() language schema. This enrichment allows for specification and inference of significantly more precise type information, facilitating program error detection and compiler optimization. The primary contribution of the paper lies in our language design, which can effectively support the use of dependent types in practical programming. In particular, this design makes it both natural and straightforward to accommodate dependent types in the presence of effects such as references and exceptions.

Information

Type
Article
Copyright
Copyright © Cambridge University Press 2006
Submit a response

Discussions

No Discussions have been published for this article.