Switchable enantioseparation based on macromolecular memory of a helical polyacetylene in the solid state.