Implement `define` to format as function.

Create `define` to create function definition source, instead of
actually compiling the function.

Closes #28.