map with fn - anonymous function
work in progress, sorry
(map (fn [arg] (+ arg 5)) [1 2 3 4 5])
#(+ %1 5)
(map #(+ arg 5) [1 2 3 4 5])
anonymous function naming
Anonymous functions can not be referred to by name and must be used in-line with an expression.
fn function can be given a name, however, this is only available in the scope of that function definition, it cannot be used to refer to that function definintion outside of that defninition. The name assingment within a
fn definition enables the function to call itself, therefore creating an anonymous recursive function.