How do you compile functions?

A function definition creates a function value.

This is a reference to the code to which the function body is translated to.