Apparatus therefor having one or more compartments filled with ion-exchange material {, e.g. electrodeionisation}