Please, let's end the discussion on this - it's not up for debate. On Monday, July 18, 2016 at 3:28:05 PM UTC-5, Logan Buckley wrote: > > FWIW, I was not aware of `any?` when I read this thread, and I found its > semantics confusing -- I think `anything?` would be much clearer. > `anything?` also seems more obviously useful for defining specs (e.g. a > function can take _anything_ as an argument). It seems usual in Clojure for > scalar predicates such as int?, string?, rational? etc to have noun or > adjective names, and collection predicates such as every? to have > determiners such as every, some, any as names. > > Logan > > On Wednesday, July 13, 2016 at 6:15:14 AM UTC-4, Tassilo Horn wrote: >> >> Alex Miller <[email protected]> writes: >> >> Hi Alex, >> >> > Well, there are only so many words. >> >> Of course, but I also think that any? is absolutely certain to be >> confused with some counterpart to every?. >> >> > As it happens any? is best name for this function. >> >> What about "anything?". To me (as a non-native speaker) that sounds >> even better to me, i.e., a function foo has an argument whose value >> might be anything. >> >> Bye, >> Tassilo >> >
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
