Should a community... be free to enact legislation to say they don't want blacks? Now that's illegal. Fifty years ago it was legal. Is that progress or is that regress?

Should a community... be free to enact legislation to say they don't want blacks? Now that's illegal. Fifty years ago it was legal. Is that progress or is that regress?