Want this course?
Course: Clojure Combinators
I really like small, composable functions. The subject of this lesson is the built-in
clojure.core/constantly. It’s a function that builds another function. And that function doesn’t do anything except return a known value. How can something be so useful? Watch to find out. Also check out the ClojureDocs entry on