This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-14
Channels
- # announcements (4)
- # aws (7)
- # babashka (44)
- # beginners (178)
- # calva (15)
- # cider (3)
- # clj-kondo (15)
- # clojure (139)
- # clojure-dev (8)
- # clojure-europe (2)
- # clojure-italy (2)
- # clojure-losangeles (9)
- # clojure-nl (32)
- # clojure-spec (6)
- # clojure-sweden (1)
- # clojure-uk (27)
- # clojurescript (17)
- # core-typed (116)
- # cursive (26)
- # data-science (1)
- # datomic (14)
- # duct (16)
- # emacs (9)
- # events (1)
- # fulcro (47)
- # jobs (3)
- # juxt (6)
- # keechma (2)
- # malli (59)
- # mid-cities-meetup (8)
- # off-topic (32)
- # pathom (5)
- # reagent (2)
- # remote-jobs (4)
- # rewrite-clj (16)
- # shadow-cljs (14)
- # spacemacs (9)
- # sql (27)
- # tools-deps (37)
- # vscode (7)
Someone is feeling positive this morning @yogidevbear 🙂
Just being upbeat and inclusive 😄
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.
(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)))
if you ever want to try it yourself
alas the clojurebot here doesn't like it
You guys in UK need to keep warm and dry this weekend: https://www.glasgowlive.co.uk/news/glasgow-news/glasgow-weather-storm-dennis-explodes-17750297