foo.cc:27:26: error: ‘eqList’ has not been declared
   27 |     SeqList intersection(eqList& other){
      |                          ^~~~~~
foo.cc: In member function ‘SeqList SeqList::intersection(int&)’:
foo.cc:30:23: error: request for member ‘contains’ in ‘other’, which is of non-class type ‘int’
   30 |             if (other.contains(num)) {
      |                       ^~~~~~~~
foo.cc: In function ‘int main()’:
foo.cc:64:43: error: cannot convert ‘SeqList’ to ‘int&’
   64 |     SeqList intersection = A.intersection(B);
      |                                           ^
      |                                           |
      |                                           SeqList
foo.cc:27:34: note:   initializing argument 1 of ‘SeqList SeqList::intersection(int&)’
   27 |     SeqList intersection(eqList& other){
      |                          ~~~~~~~~^~~~~