Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This kinda depends on how you model assignments. AFAIK in denotational semantics you usually express them a state update function, taking the previous state of the program and returning a new state with the value for that variable updated to the new one, or an error state if the expression evaluated to `poison`.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: