let collection: RangeReplaceableCollection = [1, 2, 3] // error: member 'append' cannot be used on value of protocol type 'RangeReplaceableCollection' // because it references associated type 'Element' in contravariant position; use a conformance // constraint instead. collection.append(4)