make (a < b < c) illegal?

Joel Salomon JoelCSalomon at Gmail.com
Wed Feb 14 11:23:23 PST 2007


> > With the chaining as people have discussed it,
> >     a < b > c
> > expands to
> >     (a < b) && (b > c)
> > — why would you prohibit this?
> 
> I would assume the reason is because it's not used in math.

I’ve used it — and hairier stuff besides.
	∅ ≠ A ⊆ (Ω ∋ α) ⊆ℝⁿ
(No, I don’t actually expect any programming language to accept this.)

	“I do it all because I’m evil…” — Voltaire, “When you’re evil”




More information about the Digitalmars-d mailing list