<@U021C96KUGJ>, <@U0N6C2Q9F>: random thought about...
# development
w
@ancient-vegetable-10556, @fast-nail-55400: random thought about generalizing
exports
,
packages
,
provides
, and visibility (at least for the purposes of inference). if we made
exports
,
packages
, all symbol level with wildcards (rather than target or package level) the way the way that
provides
are, then perhaps our implementation of visibility could be symbol level as well… that would make it very, very similar to language level visibility.
a
That sounds interesting
w
no idea what the visibility syntax would look like, but could take inspiration from scala:
Copy code
private[com.example] def ...
or rust:
Copy code
pub(crate) fn ...
etc
we’ve got a bit of a proliferation going… not a priority to standardize in the next few weeks, but definitely before leaving experimental
a
makes sense. I definitely support making configuration syntax a lot more consistent