How to make functions results visible?

You have to “return” a value from the definition. See this as an example.