morphismtech / squeal

Squeal, a deep embedding of SQL in Haskell
350 stars 32 forks source link

Missing regexp matching operators #270

Open bgohla opened 3 years ago

bgohla commented 3 years ago

I have not been able to find Squeal analogs of the PostgreSQL operators ~, ~*, !~ and !~* (https://www.postgresql.org/docs/12/functions-matching.html).

Have I overlooked something, or do I need to implement them myself?

echatav commented 3 years ago

They are currently missing from Squeal. Would def be open to a PR. Looks like should all be the same type as like.

bgohla commented 3 years ago

Cool. I guess I'll give it a go.