improveyourcode/clojure — comment on commit 8485c02b40ef8efc62a5faede9b84809b637551c
File:  line 0
By improveyourcode:

Using reduce which takes a function of 2 arguments and applies this function to the pairs of consecutive elements in the list