Skip to main content

ML with first-class environments and its type inference algorithm

  • Chapter
  • First Online:
Logic, Language and Computation

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 792))

Abstract

We present a typed λ-calculus which enables us to handle first-class environments. The syntax and the reduction are obtained by applying the idea of Curien's “explicit substitution”. The type system has ML-polymorphism and a type inference algorithm which is sound and terminates.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Harold Abelson and Gerald Jay Sussman. Structure and Interpretation of Computer Programs. The MIT Press, 1985.

    Google Scholar 

  2. Pierre-Louis Curien, Thérèse Hardin, and Jean-Jacques Lévy. Confluence Properties of Weak and Strong Calculi of Explicit Substitutions. Rapports de Recherche 1617, INRIA, February 1992.

    Google Scholar 

  3. Pierre-Louis Curien. Categorical combinators. Information and Control, 69:188–254, 1986.

    Article  Google Scholar 

  4. Pierre-Louis Curien. An abstract framework for environment machines. Theoretical Computer Science, 82:389–402, 1991.

    Article  Google Scholar 

  5. Olivier Danvy and Andrzej Filinski. Abstracting control. In Proceedings of the 1990 Conference on LISP and Functional Programming, pages 151–160, 1990.

    Google Scholar 

  6. Olivier Danvy and Karoline Malmkjær. Intensions and extensions in a reflective tower. In Proceedings of the 1988 Conference on LISP and Functional Programming, pages 327–341, 1988.

    Google Scholar 

  7. Matthias Felleisen, Daniel P. Friedman, Eugene Kohlbecker, and Bruce Duba. Reasoning with continuations. In Proceedings of the Symposium on Logic in Computer Science, IEEE Computer Society Press, 1986.

    Google Scholar 

  8. Carl A. Gunter. Semantics of programming languages: structures and techniques. The MIT Press, 1992.

    Google Scholar 

  9. Lalita A. Jategaonkar and John C. Mitchell. Type inference with extended pattern matching and subtypes. Fundamenta Informaticae, 19:127–166, 1993.

    Google Scholar 

  10. Oliver Laumann. Reference Manual for the Elk Extension Language Interpreter. 1990.

    Google Scholar 

  11. MIT Scheme Reference Manual. MIT.

    Google Scholar 

  12. Martín Abadi, Luca Cardelli, Pierre-Louis Curien, and Jean-Jacques Lévy. Explicit substitutions. In proceedings of the Seventeenth Annual ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages, San Francisco, California, January 1990.

    Google Scholar 

  13. Shinya Nishizaki. Simply typed lambda calculus with first-class environments. Publication of Research Institute for Mathematical Sciences Kyoto University, 1994. To appear.

    Google Scholar 

  14. J. Rees and W. Clinger. Revised3 repord on the algorithmic language scheme. SIGPLAN Notices, 21(12):37–79, 1986.

    Article  Google Scholar 

  15. Brian Cantwell Smith. Reflection and semantics in lisp. In Conference Record of the 11th Annual ACM Symposium on Principles of Programming Languages, pages 23–35, 1984.

    Google Scholar 

  16. Mitchell Wand and Daniel P. Friedman. The mystery of the tower revealed: a nonreflective description of the reflective tower. Lisp and Symbolic Computation, 1:11–37, 1988.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Neil D. Jones Masami Hagiya Masahiko Sato

Rights and permissions

Reprints and permissions

Copyright information

© 1994 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Nishizaki, Sy. (1994). ML with first-class environments and its type inference algorithm. In: Jones, N.D., Hagiya, M., Sato, M. (eds) Logic, Language and Computation. Lecture Notes in Computer Science, vol 792. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0032396

Download citation

  • DOI: https://doi.org/10.1007/BFb0032396

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-57935-9

  • Online ISBN: 978-3-540-48391-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics