Self Handbook for Self 4.5 (r 1) documentation

Pairs

«  Collections   ::   Contents   ::   Mirrors  »

Pairs

pair
        point
        rectangle

traits pair describes the general behavior for pairs of arithmetic quantities. A point is a pair of numbers representing a location on the cartesian plane. A rectangle is a pair of points representing the opposing corners of a rectangle whose sides are parallel with the x and y axes.

Modules: pair, point, rectangle

«  Collections   ::   Contents   ::   Mirrors  »