3 ms·
arc: (def bdays (people) (count [no (iso _ (dedup _))] (n-of 1000 (n-of people (rand 365)))))
by pg 19y ago
arc:
(def bdays (people)
(count [no (iso _ (dedup _))] (n-of 1000 (n-of people (rand 365)))))
- antonio 19y agoThis is probably the right middle ground between the verbose, and not too expressive, Java implementation and the rather cryptic K/J version.