Call back from module

Hello,

I am blanking on the following …

I have a main program that uses a module. I’d like to “register” in the main a call back to the module, so that, module code can call a predicate/goal in the main.

How can I do this, without passing the whole clause into the module?

thanks,

Dan

hmm, multifile seems to be the way to go, so that i can define in the main a predicate first defined in the module …