There are a number of C-containing entities which can donate electrons. The C atom of the CN - anion contains a lone pair which can be transferred to a Lewis acid. Even if the acid molecule is anionic, short-range attractive forces can overcome the long-range ion-ion repulsion to approach close...