DanielXMoore / Civet

A TypeScript superset that favors more types and less typing
https://civet.dev
MIT License
1.33k stars 28 forks source link

(is like ...) section, document "is not like" #1203

Closed edemaine closed 2 months ago

edemaine commented 2 months ago

Add support for (is like ...) sections. It's a special binary operator so this needs to be explicit. [I don't think (... is like) or (is like) sections can make sense, because the right-hand side needs to be parsed as a pattern.]

I forgot that I previously added is not like, this PR documents and tests that as well.