News for hackers. Stuff that matters.
Re:A Square Is Not A Rectangle by apotheon on Monday September 14, 2009 @10:18PM (#823098)
403 Forbidden

Damn. Did I miss it?

Re:A Square Is Not A Rectangle by apotheon on Saturday September 26, 2009 @01:43AM (#845117)
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?