Skip to main content

Techniques for Simplifying the Visualization of Graph Reduction

  • Conference paper
Book cover Functional Programming, Glasgow 1994

Part of the book series: Workshops in Computing ((WORKSHOPS COMP.))

  • 62 Accesses

Abstract

Space and time problems still occasionally dog the functional programmer, despite increasingly efficient implementations and the recent spate of useful profiling tools. There is a need for a model of program reduction that relates directly to the user’s code and has a simple graphical representation. Naïve graph reduction provides this. We address the problems of displaying a series of program graphs which may be long, and the elements of which may be large and complex. We offer a scheme for compacting an individual display by creating a quotient graph through defining equivalence classes, and a similar scheme for reducing the number of graphs to show. A metalanguage to allow the user to define compaction rules gives the model flexibility. A prototype system exists in a Haskell implementation.

This work was supported by a SERC grant to the first author and is described further in her D.Phil. thesis [3].

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • 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.

References

  1. David V. Beard and John Q. Walker II. Navigational techniques to improve the display of large two-dimensional spaces. Behaviour and Information Technology, 9 (6): 451–466, 1990.

    Article  Google Scholar 

  2. Chris Clack, Stuart Clayman, and David Parott. Lexical Profiling: Theory and Practice. Technical report, University College London, 1993 (to appear in the Journal of Functional Programming).

    Google Scholar 

  3. Sandra P. Foubister. Graphical application and visualization of lazy functional computation. D.Phil thesis, University of York, 1995 (forthcoming).

    Google Scholar 

  4. Samuel Kamin. A debugging environment for functional programming in Centaur. Technical Report 1265, INRIA-Sophia Antipolis, 1990.

    Google Scholar 

  5. H. Lieberman. Steps Toward Better Debugging Tools for Lisp. In ACM Symposium on LISP and Functional Programming, pages 247–255, 1984.

    Chapter  Google Scholar 

  6. H. Nilsson and P. Fritzson. Algorithmic Debugging of Lazy Functional Languages. In M. Bruynooghe and M. Wirsing, editors, Programming Language Implementation and Logic Programming, pages 385–389, Leuven, Belgium, 1992. Springer Verlag.

    Chapter  Google Scholar 

  7. Simon Peyton Jones and David Lester. Implementing functional languages: a tutorial Prentice Hall, 1992.

    Google Scholar 

  8. Colin Runciman and David Wakeling. Heap profiling of lazy functional programs. Journal of Functional Programming, 3 (2), 1993.

    Google Scholar 

  9. Patrick M. Sansom. Execution profiling for non-strict functional languages. Ph.D. thesis, University of Glasgow, 1994.

    Google Scholar 

  10. Robin A. Snyder. Lazy Debugging of Functional Programs. New Generation Computing, 8: 139–161, 1990.

    Article  Google Scholar 

  11. J. Taylor. A System For Representing The Evaluation of Lazy Functions. Technical report, Department of Computer Science, Queen Mary and Westfield College, 1991.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1995 Springer-Verlag London

About this paper

Cite this paper

Foubister, S.P., Runciman, C. (1995). Techniques for Simplifying the Visualization of Graph Reduction. In: Hammond, K., Turner, D.N., Sansom, P.M. (eds) Functional Programming, Glasgow 1994. Workshops in Computing. Springer, London. https://doi.org/10.1007/978-1-4471-3573-9_5

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-3573-9_5

  • Publisher Name: Springer, London

  • Print ISBN: 978-3-540-19914-4

  • Online ISBN: 978-1-4471-3573-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics