Adding condp-> and condp->> macros to core library

Description

After introduction of cond-> and cond->> macros in 1.5. It makes sense to have condp-> and condp->> macros in the core library.

(condp-> {}
(complement :a) (assoc :a 1)
:a (assoc :b 2)) ;=> {:b 2, :a 1}

In the above example the result of each expr which was evaluated is being passed to the next predicate.

Environment

None

Assignee

Unassigned

Reporter

kul

Labels

Approval

None

Patch

Code

Affects versions

Priority

Major
Configure