An Example Dylan Program

  • Iain D. Craig


This chapter contains an example Dylan program of moderate size. The aim is to present a Dylan program which exploits a number of features of the language so that the reader can derive an overall impression of it. Dylan is an object-oriented language, so classes are thoroughly exploited and methods attached to classes as a matter of course; one generic method is explicitly declared. The focus of the example is on object-oriented programming; the other types and primitives are considered to be relatively straightforward and should be appreciated by the reader after consultation of the language reference manual.


Unit Cost Method Show Select Expression Abstract Class Shopping List 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag London Limited 1997

Authors and Affiliations

  • Iain D. Craig
    • 1
  1. 1.Department of Computer ScienceUniversity of WarwickCoventryUK

Personalised recommendations