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 day 19 hours ago
2 days 16 hours ago
3 days 20 hours ago
3 days 21 hours ago
1 week 1 day ago
1 week 1 day ago
1 week 1 day ago
4 weeks 2 days ago
5 weeks 22 hours ago
5 weeks 1 day ago