I haven’t thought about having a private functions, that may work for me.
Regarding spec. I want to specify that my function accepts a subset of what specified in a callback definition. Instead of term() specific terms {:send, string.t()} and etc.
Maybe I can create a type that will encapsulate all allowed terms, and use it in a single spec, but that will mix up a return value types.
Or maybe spec per function is good enough.



















