0
replies

Does the answer of the question "Using Keep" has an error?

Does the question "Using Keep" in the page https://courses.alura.online/course/clojure-collections/task/204 has a redaction error?

The correct answer shown says:

Keep is a 'map' and a 'filter'

The 'map' is applied 'f' and the 'reduce' filters all the non-null elements


Shouldn't it be?

The 'map' is applied 'f' and the 'filter' filters out all the non-null elements