Disambiguation Control

version 7 by Jon Ingold

  • Home page
  • Beginning
  • Previous
  • Next

  • Chapter - I7 Functions to Manipulate Sets

    Section - is X a subset of Y?

    To decide if (X - a list of objects) is a subset of (Y - a list of objects):
        remove Y from X, if present;
        if the number of entries in X is 0, decide yes;
        decide no.