using 'yield' automatically turns functions into generators

See discussion https://github.com/jashkenas/coffee-script/pull/3078