Replaces var with def.

The var was unnecessary.  This example code went into
the language spec.