Fork me on GitHub
#clojure-uk
<
2020-02-14
>
dominicm07:02:04

Morning

👋 4
Johanna07:02:10

Morning ❄️

👋 4
jarohen08:02:44

morning, happy Friday 🙂

👋 4
💪 4
3Jane08:02:55

\o

4
4
dominicm08:02:37

Someone is feeling positive this morning @yogidevbear 🙂

yogidevbear08:02:24

Just being upbeat and inclusive 😄

3Jane08:02:38

coffee sparkles? always welcome!

Rachel Westmacott09:02:13

RCFOTD

clojure.core/random-sample
([prob] [prob coll])
Returns items from coll with random probability of prob (0.0 -
  1.0).  Returns a transducer when no collection is provided.

Rachel Westmacott09:02:32

morning people!

👋 8
dharrigan09:02:21

I do enjoy your function of the day! keep it up! 🙂

👍 4
Rachel Westmacott09:02:00

(let [{:keys [name ns arglists doc]} (->> (all-ns)
                                          (filter #(-> % str (clojure.string/starts-with? "clojure")))
                                          (mapcat ns-publics)
                                          vals
                                          (map meta)
                                          (filter :arglists)
                                          rand-nth)]
  (println (str ns "/" name "\n"
                arglists "\n"
                doc)))

Rachel Westmacott09:02:14

if you ever want to try it yourself

Rachel Westmacott09:02:32

alas the clojurebot here doesn't like it

dharrigan10:02:04

but perhaps a twitter bot might?

marcus18:02:34

I like it as well 😄

jasonbell09:02:45

Morning

👋 4
Gulli10:02:05

Hola!

👋 4
Andrew10:02:53

Morning!

👋 4
maleghast11:02:37

Morning All

🍔 4
👋 4
rhinocratic11:02:41

Morning.

👋 4
maleghast19:02:43

Oh my... I am going to spend the weekend under the covers, I think !

marcus19:02:50

Have you noticed that it is usually on weekends?! Couldn't it happen during weekdays? 😂