I'm learning Scala and ran across the following task - if string is blank then return null, otherwise uppercase it.

There are two functions in Apache Commons that composed together solves the problem. In Haskell I'd just write:

```
upperCaseOrNull = StringUtils.stripToNull . StringUtils.upperCase

```

However I can't find a way to do an easy and clean function composition in Scala. the shortest way I found is as follows:

```
def upperCaseOrNull (string:String) = StringUtils.stripToNull (StringUtils.upperCase(string))
def upperCaseOrNull = StringUtils.stripToNull _ compose StringUtils.upperCase _

```

Does Scala offer a more concise syntax, possibly without all those underscores?