Can I create a module that uses functions that will be supplied by importers of the module?
I want to write generic code without specifying the implementation of a few key functions. I want the user to specify these. I could include these as inputs to all functions but this seems ugly.
If I were writing an object I would create an abstract class. Is there an equivalent for modules?
Edit: I'm asking specifically about how to do this with functions in modules, not methods in classes.