A common use case of bit vectors is to use them as sets (with a 1 at index i indicating that i is in the set and a 0 indicating that it isn't). There could be some operations for this use case, e.g. union, intersection, difference, isSubset, etc. Would these be good additions to bitvec? If so, should they operate on Vector Bit or a newtype (like F2Poly)?
A common use case of bit vectors is to use them as sets (with a 1 at index i indicating that i is in the set and a 0 indicating that it isn't). There could be some operations for this use case, e.g.
union,intersection,difference,isSubset, etc. Would these be good additions tobitvec? If so, should they operate onVector Bitor anewtype(likeF2Poly)?