Re: sorted-set-by fails when given no values

2009-11-12 Thread Timothy Pratley
On Nov 13, 6:42 am, Albert Cardona wrote: > 20:26 < chouser> leafw: sorted-set-by allows for an empty list of initial >                  values, but passes that on to PersistentTreeSet/create as >                  null, but create doesn't check for null it just blindly calls >                  .

sorted-set-by fails when given no values

2009-11-12 Thread Albert Cardona
Hi all, When creating a sorted set, the function sorted-set-by cannot be called without at least one element, despite the elements being optional. Chouser on irc.freenode.net #clojure suggested this is a bug, because: 20:26 < chouser> leafw: sorted-set-by allows for an empty list of initial