// Nota bene: this invalidates the AppendableChain object you had before static AppendableChain itemPlusChain(A a, AppendableChain chain) { ret new AppendableChain(a, chain); }