Dependent ML

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Smasongarrison (talk | contribs) at 23:31, 29 August 2018 (→‎top: clean up). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Dependent ML is an experimental functional programming language proposed by Hongwei Xi (Xi 2007) and Frank Pfenning. Dependent ML extends ML by a restricted notion of dependent types: types may be dependent on static indices of type Nat (natural numbers). Dependent ML employs a constraint theorem prover to decide a strong equational theory over the index expressions.

DML's types are not dependent on runtime values - there is still a phase distinction between compilation and execution of the program.[1] By restricting the generality of full dependent types type checking remains decidable, but type inference becomes undecidable.

Dependent ML has been superseded by ATS and is no longer under active development.

References

  1. ^ Aspinall & Hofmann 2005. p. 75.

Further reading

  • Xi, Hongwei (March 2007). "Dependent ML: An Approach to Practical Programming with Dependent Types" (PDF). Journal of Functional Programming. 17 (2). {{cite journal}}: Invalid |ref=harv (help)
  • David Aspinall and Martin Hofmann (2005). "Dependent Types". In Pierce, Benjamin C. (ed.) Advanced Topics in Types and Programming Languages. MIT Press.

External links