There is also keep that works like map but discards nils.
thanks @seancorfield @claudius.nicolae
will try keep
Is there a way to make clj output have syntax-highlighting ?
Depends. Can you outline the scenario, what exactly do you mean by "output"?
https://github.com/bhauman/rebel-readline is the unofficial way to get that
There is also: https://github.com/greglook/puget
Yeah, I've used rebel-readline before, worked alright.
But I did so only briefly - an editor-integrated REPL is much better anyway, in pretty much every way.
puget is for printing results of an execution, not for syntax highlighting.
We are actually working on this for clj right now, stay tuned