I saw the demo yesterday; it looked like you still had state in the form of a world value (at least storing Mario's physical state information). Those world values would have to be kept around.
Elm code is only pure in that it doesn't have implicit side effects, it definitely has state.
However, if you have deterministic execution, you can always just re-execute from the beginning to get the same execution. This works for functional and non-functional code.
Elm code is only pure in that it doesn't have implicit side effects, it definitely has state.
However, if you have deterministic execution, you can always just re-execute from the beginning to get the same execution. This works for functional and non-functional code.