I'm looking for neat symbols in query expressions, like "x≤3" instead of "x<=3" or "x .le. 3".
EDIT: My motivation: I have to deal with a very long list of SQL-like conditions, all squeezed into the scheme (variable, operator, value). I'd like to see this list in its most comprehensive and natural form. Replacing the verbose operators by common mathematical symbols is essential, easy to implement, and mostly trivial: = for "equals", ≤ for "le", ∍ for "contains", ... Reordering or changing the appearance of variable and value would definitively also help, but would be overkill and out of scope. My question here is just about the special symbol ≬ I've never seen before in my life.
In my attempt to simplify the clumsy expression
"x between [2, 4]" (meaning 2≤x≤4)
I've just found the promising Unicode symbol ≬, meaning between. This unknown symbol appears among the other well-known binary operators, but I don't know if it is appropriate in my context, and how to use it correctly. Is it acceptable, misleading, or even wrong to write:
"x≬[2, 4]" (meaning 2≤x≤4)
I'd be happy to use it, provided it at least resembles a valid mathematical notation.
Are there any better (more common) notations? My query language supports only lists, no intervals or sets. "x∊[2, 4]" currently means (x=2 ∨ x=4). As a compromise, I would change that into "x=[2, 4]" (ouch!) and then use "x∊[2, 4]" for 2≤x≤4. Any other ideas?