In reply to dave_59:
If the function f1 is not going to use anywhere except that module, then there is no point in keeping f1 function in package and importing it.Here we are implicitly declaring the function f1 in that module.
So in this case i would prefer declaring the function f1 in module scope.