In Java, we can do something like this:
ObservableStringValue str = ...;
Binding<Integer> strLen = EasyBind.map(str, String::length);
Where String::length
effectively is an instance method being used as a function. Is there an equivalent form in Scala? (And by extension, an equivalent way to use EasyBind in Scala)