This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-18
Channels
- # bangalore-clj (1)
- # beginners (36)
- # boot (119)
- # braid-chat (16)
- # cider (14)
- # cljs-dev (34)
- # cljsrn (7)
- # clojars (9)
- # clojure (91)
- # clojure-austin (1)
- # clojure-bangladesh (1)
- # clojure-dusseldorf (5)
- # clojure-israel (1)
- # clojure-russia (3)
- # clojure-spec (6)
- # clojure-uk (7)
- # clojurescript (11)
- # community-development (1)
- # core-async (5)
- # cursive (6)
- # datomic (11)
- # dirac (12)
- # funcool (24)
- # leiningen (5)
- # luminus (5)
- # off-topic (2)
- # om (69)
- # om-next (16)
- # overtone (4)
- # perun (19)
- # re-frame (23)
- # reagent (38)
- # specter (7)
- # uncomplicate (9)
- # yada (4)
the confusion will come that caseless=
has very different semantics to the clojure =
operator
In fact right now in the latest published snapshot it returns nil
(`(caseless= nil nil) => nil`)
> In fact right now in the latest published snapshot it returns nil
(`(caseless= nil nil) => nil`)
maybe.
but for (caseless= nil "foobar")
I expect false
the analogy with starts-with?
looks wrong
> caseless=
only works with strings
it depends if it includes nilable or not
I don't see a reason to disallow nilable strings for comparison
well, returning nil
if arguments are invalid is like an exception.
usually I don't expect nils from predicates
take cara that at this moment, cuerdas handles the nil
or wrong input in a consistent manner around the library
> take cara that at this moment, cuerdas handles the nil
or wrong input in a consistent manner around the library
in this case your initial question has no sense 🙂