Netflix / PigPen

Map-Reduce for Clojure
Apache License 2.0
565 stars 55 forks source link

Assert that data passed to return is not empty #34

Closed daveray closed 10 years ago

daveray commented 10 years ago

If return is given an empty sequence, pigpen fails later with a bizarre, seemingly unrelated arity exception because it can't figure out the number of expected fields in the input. I'm not sure what a real solution is, so at least fail early with a clear assertion.