Don't know about idiomatic, but I would go with co...
# codingconventions
m
Don't know about idiomatic, but I would go with companion. It scopes the function, allows for shorter name, and call side can choose if the context allow for omission of the class name (Either.left() vs left() )
👍 2