Use Ruby >= 1.9 syntax for hashes. Prefer `terminator: ->(_,result) { result == :halt }`.