On Saturday, 12 December 2015 at 14:05:04 UTC, Shriramana Sharma wrote:
Mike Parker wrote:

All values, 3 and false included, *are* expressions. They are expressions with one operand and no operator, but they are still expressions.

https://en.wikipedia.org/wiki/Value_(computer_science)

That's true, but the fact remains that the AliasSeq stores only the resultant value of the expression and not the expression itself (which may be valid or not).

Consider what would happen if they did not evaluate expressions:

AliasSeq!(someFunc, someFunc());

Would you really want someFunc() not to be evaluated?

Reply via email to