3 ms·
Okay, so I came back finally and checked again to see if I could get in. My thought, now, is that a functional approach to making square a "subclass" (by stret
by apotheon 17y ago
Okay, so I came back finally and checked again to see if I could get in.
My thought, now, is that a functional approach to making square a "subclass" (by stretching the term "subclass" out of the confines of its traditional Java-style OOP usage) of rectangle.
(define (square s)
(rectangle s s))
Simple. Yes?