reduce-kv

reduce-kv

Preview unavailable

You must log in or sign up to view this lesson.

LoginSign up

B05 Functional Programming in Clojure

Buy nowLearn more

The first three functional tools

  • map1
  • filter1
  • reduce2

Combinators

  • identity
  • constantly
  • complement
  • partial
  • fnil
  • comp
  • juxt
  • apply

Recursion

  • length
  • map
  • filter
  • The Two Types of Recursion
  • filter with tail recursion
  • map with tail recursion
  • length with tail recursion
  • How is Recursion like a for loop?
  • Recursion and laziness
  • loop-recur

Reduce

  • Implementing reduce
  • Implementing map using reduce
  • Implementing filter with reduce
  • reduce-kv
  • reductions
  • Average using reduce
  • reduced