How to define method for (:)?

Base.:(:)(a, b) = ...

should do the trick

5 Likes