There are two lists of dates (no assumptions can be made regarding list order)
//first list
[date_a; date_b; date_c]
//second list
[date_A; date_B; date_C]
I am looking for a function that returns the following as a list of entries:
the date is unique key (a single date will appear only once in the list)
-> (date, true, true) in case both lists contained the date
-> (date, true, false) in case the first list contained the date
-> (date, false, true) in case the second list contained the date
(there will be no (date, false, false) entries)
Using some simple set operations:
Here’s an example: