This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-26
Channels
- # beginners (91)
- # cider (34)
- # cljsrn (6)
- # clojure (95)
- # clojure-gamedev (4)
- # clojure-serbia (7)
- # clojure-spec (5)
- # clojure-uk (27)
- # clojurescript (42)
- # data-science (1)
- # datascript (2)
- # datomic (4)
- # duct (10)
- # emacs (11)
- # fulcro (21)
- # luminus (3)
- # lumo (24)
- # off-topic (2)
- # other-languages (2)
- # ring (2)
- # shadow-cljs (39)
- # spacemacs (9)
- # tools-deps (2)
@jplaza can you share ::uuid spec? i have issues with that one, as uuid? of “” is true….
Not sure how uuid?
can return true for empty string:
(uuid? "")
;;=> false
;; clojure.core/uuid
(defn uuid?
"Return true if x is a java.util.UUID"
{:added "1.9"}
[x] (instance? java.util.UUID x))
in clojurescript 😞
@karol.adamiec we are using compact uuids (https://github.com/tonsky/compact-uuids) so we are using a predicate
thanks