How to Validate Phone Numbers in Plait without Using Regex?
I’m working on a project in Plait, a sublanguage of Racket, and I need to validate phone numbers. The phone numbers should be in the format “xxx-xxx-xxxx” where the area code is either “787” or “939”. However, Plait doesn’t support regular expressions directly. How can I validate these phone numbers without utilizing regex?