Is it possible to write postfix function that I can use like that:
//... val myStr: String = "some string" val myNewStr = myStr myFunction otherMyFunction // Instead of: otherMyFunction(myFunction(myStr)) def myFunction(String: str): String { //do something } def otherMyFunction(String: str): String { //do something } //... I want to call my function like if it's a method of type String. It there such possibility? If there is, what syntax I have to use?