News for hackers. Stuff that matters.
Re:Try Clojure by tasuki on Friday May 24, 2024 @12:25PM (#40467712)
This does not involve an identity function?

It's just a textbook monoid: an operation on two elements which produces another (+ or *), with a "neutral" element provided (0 or 1).

Re:Try Clojure by globular-toast on Saturday May 25, 2024 @05:08PM (#40477886)
I know this isn't the identity function, but it's the same idea and a feeling I get when using Lisps that the language is kind of "complete". Including the identity function and having built in 0-ary functions where it makes sense are examples of this.