[stack.defn] Fix swap signature.

Reported by Stephan T Lavavej. Fixes #242
Merge pull request #354 from jwakely/issue-242

[stack.defn] Fix swap signature.