[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to main content

Type Inference for Sublinear Space Functional Programming

  • Conference paper
Programming Languages and Systems (APLAS 2010)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 6461))

Included in the following conference series:

Abstract

We consider programming language aspects of algorithms that operate on data too large to fit into memory. In previous work we have introduced intml, a functional programming language with primitives that support the implementation of such algorithms. We have shown that intml can express all logspace functions but have left open the question how easy it is in practice to program typical logspace algorithms in intml. In this paper we develop algorithms for intml type inference. We show that with type inference one can handle programs that could not be reasonably manipulated by hand. We do so by implementing in intml a typical logspace algorithm, a test for acyclicity of undirected graphs. Thus we show that with type inference intml can express typical algorithmic patterns of logspace easily and in a natural way.

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

Access this chapter

Subscribe and save

Springer+ Basic
£29.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
GBP 19.95
Price includes VAT (United Kingdom)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
GBP 35.99
Price includes VAT (United Kingdom)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
GBP 44.99
Price includes VAT (United Kingdom)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Abramsky, S., Jagadeesan, R., Malacaria, P.: Full Abstraction for PCF. Inf. Comput. 163(2), 409–470 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  2. Atassi, V., Baillot, P., Terui, K.: Verification of ptime reducibility for system F terms: Type inference in dual light affine logic. Logical Methods in Computer Science 3(4) (2007)

    Google Scholar 

  3. Baader, F., Snyder, W.: Unification theory. In: Robinson, J.A., Voronkov, A. (eds.) Handbook of Automated Reasoning, pp. 445–532. Elsevier and MIT Press (2001)

    Google Scholar 

  4. Burrell, M.J., Cockett, R., Redmond, B.F.: Pola: a language for PTIME programming. In: Workshop on Logic and Computational Complexity, LCC (2009)

    Google Scholar 

  5. Cook, S., McKenzie, P.: Problems complete for deterministic logarithmic space. Journal of Algorithms 8(3), 385–394 (1987)

    Article  MathSciNet  MATH  Google Scholar 

  6. Dal Lago, U., Schöpp, U.: Functional programming in sublinear space. In: Gordon, A.D. (ed.) Programming Languages and Systems. LNCS, vol. 6012, pp. 205–225. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  7. Hermann, M., Kolaitis, P.G.: Computational complexity of simultaneous elementary matching problems. J. Autom. Reasoning 23(2), 107–136 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  8. Kapur, D., Narendran, P.: Complexity of unification problems with associative-commutative operators. J. Autom. Reasoning 9(2), 261–288 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  9. Pottier, F., Rémy, D.: The essence of ML type inference. In: Pierce, B.C. (ed.) Advanced Topics in Types and Programming Languages, pp. 389–489. MIT Press, Cambridge (2005)

    Google Scholar 

  10. Tidén, E., Arnborg, S.: Unification problems with one-sided distributivity. J. Symb. Comput. 3(1/2), 183–202 (1987)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Dal Lago, U., Schöpp, U. (2010). Type Inference for Sublinear Space Functional Programming. In: Ueda, K. (eds) Programming Languages and Systems. APLAS 2010. Lecture Notes in Computer Science, vol 6461. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-17164-2_26

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-17164-2_26

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-17163-5

  • Online ISBN: 978-3-642-17164-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics