Hello again. For accessing modules the dot operator ('.') is used. For example
system.swap(varx, vary)
My question is if it's possible to overload this dot operator with something else? For example system::swap(varx, vary)
If so how? And how can I export this operator across the whole project so I don't have to import the module that defines this every time? Thanks.Maybe like this, but it's a bad idea:
template `::`*(a, b: untyped): untyped = a.b
And how can I export this operator across the whole project so I don't have to import the module that defines this every time?
Via an --import:"my_ugly_scope_operator" in your configuration.