I'm new to SM, but what I found is that after compiling the script, I
have to execute it, even though it's only defining a function and has
no top-level statements. I assume this is because functions are simply
objects, and compiling doesn't imply that objects get created. So, ...
As a new user, it'd be good for me to get confirmation that this is the
Right Way (tm) to do things.