Dict do (
    set("[]", method(key, self __getitem__(key)))
)

List do (
    set("[]", method(x,
        (x type == "Number") ifTrue(
            self __getitem__(x)
        ) ifFalse(
            raise TypeError("indicies must be numbers or slices")
        )
    ))
)

Tuple do (
    set("[]", method(index, self __getitem__(index)))
)

Bytes do (
    set("[]", method(index, self __getitem__(index)))
)

String do (
    set("[]", method(index, self __getitem__(index)))
)
