Arc Forumnew | comments | leaders | submitlogin
7 points by rntz 5653 days ago | link | parent

'med doesn't use its optional 'test argument. It is:

    (def med (ns (o test >)) ((sort > ns) (round (/ (len ns) 2))))
It probably should be:

    (def med (ns (o test >)) ((sort test ns) (round (/ (len ns) 2))))


3 points by pg 5653 days ago | link

Oops, yes, that's correct.

-----