intersection   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/core/adt.xtm

Implementation

(bind-func intersection:[List{!a}*,List{!a}*,List{!a}*]*
  (lambda (l1 l2)
    (duplicates (append (unique l1) (unique l2)))))


Back to Index

Similar Entries