Pow Expressions - not worth the juice?

Sergey kornburn at yandex.ru
Tue Feb 3 17:44:56 UTC 2026


On Tuesday, 3 February 2026 at 17:29:44 UTC, Dejan Lekic wrote:
> How can people live with that terrible R syntax is beyond me, 
> but hey - matter of taste I guess! This could allow alternative 
> syntax for some common logic operators (`foo #ge# 2` as 
> alternative to `foo >= 2`)...

This feature is not very often used.
I could remember only `%>%` which was moved to `|>` in newer 
versions.
And `%in%` which you could use as `if (x %in% c("foo", "bar")`

But R is pretty specific because of its roots with S and Lisp =)


More information about the Digitalmars-d mailing list