softwaremill/bootzooka — pull request #79 by nurkiewicz (2013-04-01 18:16:00+00:00)
Title: More functional, idiomatic and monadic, less code

An alternative approach can use Option.filter and Option.isDefined.

Notice that it's still lazy, but avoids return expressions.