> I cannot come up with a single use-case in my code for fileprivate and would 
> love
> some real world examples where you'd want visibility in a single file but not 
> across
> an entire module.

Glad I'm not the only one to reply that request ;-), and I have something to 
add as well:
Operators.
Afair there's a discussion about including operator-methods as part of a type, 
but until this is possible, we have to rely on the current "private" if the 
operator needs full access (or methods that are called by the operator — I 
actually like this pattern, but others may disagree on that).
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to