[stack.defn] Fix swap signature.

Reported by Stephan T Lavavej. Fixes #242