IntSet worksheet
Overrides ... -.-
Object with main method
IntSet unions
Empty is a Singleton object
Type hierarchy scratchpad
Simple List implementation. Two points: val parameters can implement def interfaces, and Nothing is a subtype of everything so the exceptions thrown are legal.
Sufficient implementation of nth with bounds checking