Sometimes I want to return from a function a read-only Set backed by mapset's Set. It would be great if this package would define a read-only sub-set of Set interface for this purpose.
Current Set interface could then be defined by expanding the read-only Set interface with methods for mutability.
Sometimes I want to return from a function a read-only
Setbacked by mapset'sSet. It would be great if this package would define a read-only sub-set ofSetinterface for this purpose.Current
Setinterface could then be defined by expanding the read-onlySetinterface with methods for mutability.