Add support for #0 in pure functions (issue #5)
Fix check for out-of-range slot numbers (issue #5)
Style fix
Merge pull request #160 from bnjones/slots

Support #0 in pure functions