Re:Anarki – Community-managed fork of the Arc dialect of Lisp
by jffry on Sunday July 15, 2018 @01:39PM
(#17536173)
They're callable as functions, i.e. they implement clojure.lang.IFn. So unless you want to shave hairs on what it means to say they're not "functions", they _are_ functions. Sets, vecs, maps, keywords, and IIRC symbols are all IFn
Oh and (#{1 2} 3) is equivalent to (get #{1 2} 3) not (contains? #{1 2} 3)
Re:Anarki – Community-managed fork of the Arc dialect of Lisp
by stingraycharles on Sunday July 15, 2018 @02:17PM
(#17536320)
I think that it depends upon what you interpret it when you say “it’s a function”; it’s data as well. Which, now that I reconsider it, was kind of the point that the parent was trying to make, that they’re also very much unified.
So point taken.
To say they are functions would be incorrect. By the same logic, a keyword is would be a function.