print inlined functions

Please comment if you know how to implement this in a better way :)