remove list/macro customization

Change toward unified ternary-based version with dynamic functions.