• DocumentCode
    1198735
  • Title

    Functional programming with quadtrees

  • Author

    Burton, F.W.

  • Author_Institution
    Sch. of Comput. Sci., Simon Fraser Univ., Burnaby, BC, Canada
  • Volume
    6
  • Issue
    1
  • fYear
    1989
  • Firstpage
    90
  • Lastpage
    97
  • Abstract
    The authors consider the user of modern functional languages, which support user-defined data types, polymorphic types and functions, pattern matching, and several kinds of modularity, as well as two important features not found in most conventional languages: lazy evaluation and higher order functions. Coroutines, modularity, and parallelism are discussed. The authors describe how a functional language provides these modern features and how to exploit its advantages. The examples are written in Miranda, the most widely used modern functional language, but the techniques can be used in almost any modern functional language. They use quadtrees because they illustrate these features and techniques nicely.<>
  • Keywords
    functional programming; high level languages; Miranda; functional languages; lazy evaluation; modularity; parallelism; pattern matching; polymorphic types; quadtrees; user-defined data types; Computational geometry; Computational modeling; Equations; Fires; Functional programming; Graphics; Pattern matching; Runtime; Tellurium; Testing;
  • fLanguage
    English
  • Journal_Title
    Software, IEEE
  • Publisher
    ieee
  • ISSN
    0740-7459
  • Type

    jour

  • DOI
    10.1109/52.16906
  • Filename
    16906