Consider type Foo:
Foo
class Foo { var isBaz: Bool { return false } func bar() { print(\"some boring print\") } }
The $0 syntax is there to help you create a shortcut, but if you don't like it you can use the more complete form:
$0
someFoos.forEach { thisFoo in thisFoo.bar() }