How can I achieve something like this (doesn\'t compile):
internal protocol InternalPrivateMix { private func doPrivately() internal func doInternaly
You can do this:
protocol P { func int() } extension P { func int() { print("int()") priv() } private func priv() { print("priv()") } }
Which might serve your purpose - I use it.