reiddraper/simple-check — pull request #35 by fredericksgary (2013-11-08 13:31:03+00:00)
Title: Eagerly throw a helpful exception when elements is called on an empty collection

Prior to this change elements will happily take an empty collection and
call gen/choose with 0 and -1, which apparently generates lots of 0s
and 1s, and then eventually throw an IndexOutOfBoundsException when it
eventually calls nth on the empty collection.