tag:blogger.com,1999:blog-2062021423309914146.post1447290780428625058..comments2022-10-29T01:09:33.471-05:00Comments on Writing/Coding: Stemming, Part 6: Stemmer PredicatesEric Rochesterhttp://www.blogger.com/profile/15840004674816343941noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2062021423309914146.post-17300548921894031102008-07-16T06:50:00.000-05:002008-07-16T06:50:00.000-05:00Hi Drew,Thanks!My understanding is that "(= obj1 o...Hi Drew,<BR/><BR/>Thanks!<BR/><BR/>My understanding is that "(= obj1 obj2)" is the same as "obj1.equals(obj2)" in Java. For Clojure types, though, all comparisons in Clojure are done by value, not by identity.<BR/><BR/>But no, there's no way to specify an equality operator to use in that case.<BR/><BR/>EricEric Rochesterhttps://www.blogger.com/profile/15840004674816343941noreply@blogger.comtag:blogger.com,1999:blog-2062021423309914146.post-27358894480899554862008-07-16T00:26:00.000-05:002008-07-16T00:26:00.000-05:00Well written and informative! The use of funcallab...Well written and informative! The use of funcallable lists as predicates is a neat feature of clojure. <BR/><BR/>Is there a way to specify which predicate will be used to determine equality when a list is funcalled with a single argument?<BR/><BR/>I guess it's off to take an ever closer look at clojure. :)<BR/><BR/>drewcAnonymousnoreply@blogger.com