Ideally there should be an intrinsic for `until` :...
# announcements
d
Ideally there should be an intrinsic for
until
😞
👍 2
e
what is it an intrisic exactly?
d
It's a special case in the compiler that implements a particular construct differently than can be done in the language itself (if it can be done at all). In the case of using
for (i in n..m)
, for example, the compiler knows that it can output a "primitive" loop instead of doing the whole `IntRange`/`Iterator` dance.
e
thanks!