Wolfram language has a feature where predicates or head value checks can be added to a pattern. These occur after the _ or other pattern match operator.
Now I'm looking at syntax-parse and I see that adding a x:id , for example will check that x is an id. That makes the colon an operator. It also looks like it is going to mess up code that does such thing as using prefix on require, where that prefix is followed by a colon. The lex docs, for example, show this. Shouldn't this be (x id) rather than x:id ? As a case of (x predicate). -- You received this message because you are subscribed to the Google Groups "Racket Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/3a0e98f1-45b2-4d07-91a4-f0e3e5030e26%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
