Is there a way to implicitly add methods in scala object?
Upd: For example, Unfiltered scala library have singleton object Body which contains methods
Body
What do you mean by implicitly adding methods? Does this code snipper answer your question:
implicit def toFunkyString(s: String) = new { def reverseUpper = s.reverse.toUpperCase } "Foo".reverseUpper //yields 'OOF' toFunkyString("Foo").reverseUpper //explicit invocation