User loginNavigation |
archivesWhat is a state?Here are two versions of the factorial function written in Lisp (MuLisp). (DEFUN FACTORIAL (N) and an imperative version, (DEFUN FACTORIAL (N M) The imperative version has two mutable states N and M. The way I look at it, the recursive version has a mutable state N. Is there any argument for saying that the recursive version has no state, or no mutable state? |
Browse archivesActive forum topics |
Recent comments
1 week 6 days ago
2 weeks 14 hours ago
2 weeks 1 day ago
2 weeks 1 day ago
2 weeks 6 days ago
2 weeks 6 days ago
2 weeks 6 days ago
6 weeks 13 hours ago
6 weeks 5 days ago
6 weeks 6 days ago