Lecture 8
LECTURE 8:
Object-oriented programming in Scheme
Kurt Nørmark
Department of Computer Science, Aalborg University, Denmark
Title page
Abstract
References from this lecture
Exercises in this lecture
Source programs in this lecture
Page 1
Closures revisited
Page 2
Functions and closures
Page 3
Classes and objects in Scheme
Page 4
Functions with private context
Page 5
Classes and objects
Page 6
A general pattern of classes
Page 7
Example of the general class pattern
Page 8
A general pattern of classes with inheritance
Page 9
An example of classes with inheritance
Page 10
The interpretation of
self
Page 11
A demo of virtual methods
Generated: Friday January 3, 2014, 09:49:30