Perhaps I misunderstand the situation. This would seem to be resolved by the fact that (as stated) the return value of print() is nil.