Anonymous functions with Spark DSL?

Great stuff. many thanks @zachdaniel