Replace stdlib literal list w/pattern checker
Replace stdlib literal list w/pattern checker

This mirrors what's done in stdlib. Might not be the best long-term
solution, but it's OK for now.

chx/gps,sdboyer/gps,sdboyer/vsolver