logoalt Hacker News

drabbiticustoday at 8:45 AM0 repliesview on HN

Can someone help confirm whether I understand correctly the semantics difference between the final-line eval of

    x^
vs.

    x*
?

It seems like either one evaluates the contents of the `box`, and would only make a difference if you tried to use `x` afterwards? Essentially if you final-line eval `x^` and then decide you want to continue that snippet, you can't use `x` anymore because it's been moved. Awkwardly, it also hasn't been assigned so I'm not sure the box is accessible anymore?