Is it possible to define methods for a case class instance? I know I can define class methods using the companion object but I’m not loving this invocation style:
MyCaseClass.myFunc( case_class_instance )
I would prefer to be able to do this:
Any direction would be appreciated.