Section 34 Want more of a challenge? View in iconic form (experimental)
# OBJECT introduce simple form of typing, for ease of documentation. # An object is simply a function that takes an argument. # The argument is the method to call on the object. # Types are here taken to be just the existence of a particular method, # with that method returning an object of the appropriate type. [hear] (define make-integer (lambda (v) (lambda (x) (if (= (x) int) (v) 0))));