Skip to content
Sign up for a GitHub account
You can clone with
"Return the new people are only in the new-list but not in the current-list.
Both lists are lists of maps where they have at least :first_name and :last_name keys.
(let [existing (set (remove #(nil? (second %)) (map (juxt :first_name :last_name) current-list)))]
(remove #(existing ((juxt :first_name :last_name) %)) new-list)))
Sign up for free
to join this conversation on GitHub
. Already have an account?
Sign in to comment
Something went wrong with that request. Please try again.