Credit card number validation as functional–style Swift.