chickadee » vectr » vectr?

<vectr>type
define-vectr tx <number> ty <number> hx <number> hy <number>procedure
define-vectr tail <point> head <point>procedure
vectr? objprocedure

The main data type, vectr. Vectrs are records containing two slots, a head and a tail. The tail point is the vectr's origin and the head point is where the vectr stops. Vectrs can be created using the define-vectr procedure. This procedure can take arguments of either 4 numbers or 2 points. You may test whether or not an arbitrary piece of data is a vector by passing it to the vectr? procedure.