concept custom function in category clojure
appears as: custom function, custom functions, custom function

This is an excerpt from Manning's book Get Programming with Clojure.
Table 2.2 The different patterns of functional programming. Each pattern is illustrated by an abstract example and a concrete Clojure expression
Pattern
example
Clojure expression
Functions as arguments
Transform the values of an array
(map inc [1 2 3])
Functions as return values
Create a function where the first argument arguments of the original function is fixed
(partial + 42)
Anonymous functions
Transform the values of an array with custom function
(map (fn [x] (+ x 42)[1 2 3])
Functions in collections
Create an array of functions
[inc + *]
The doc form also displays the arity of custom functions. Let’s check the arity of our greater-than-42? function: