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 3 days ago
1 week 4 days ago
13 weeks 4 days ago
13 weeks 5 days ago
13 weeks 6 days ago
13 weeks 6 days ago
14 weeks 4 days ago
14 weeks 4 days ago
14 weeks 4 days ago
17 weeks 5 days ago