lib: changes the behavior of Coll::rand to behave like first
authorAlexis Laferrière <alexis.laf@xymus.net>
Mon, 13 Jan 2014 23:24:07 +0000 (18:24 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Wed, 29 Jan 2014 14:32:34 +0000 (09:32 -0500)
commit433ca621d3265e36be30d82587c2ef3e98470db9
tree87d5345c4392d5748aa454390ad01a8566181a3d
parent0dbe1093608cedae8b1ac43c22ec6f9433469ed4
lib: changes the behavior of Coll::rand to behave like first

It will now return a non-nullable and `abort` when empty.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/standard/math.nit