title: Using Set Theory with arrays in programming
body: <p>I was wondering if there are functions in any programming languages that allow you to test set theory.  For example a library or series of decent algorithms that can perform Combinatorics on large sets.</p>
  
  <p>I don't need basic push/pop I would like to know for what programming languages do libraries exist for functions like UNION CONCAT INTERSECTIONS and Compliments, and comparison of sub sets for 100k+ element sets.</p>
  
  <p>I know this sounds like a math question... maybe not but I am more looking for a Programming language that is designed to handle large sets quickly, because I know my algorithms will be slow.</p>