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

Persistent in this case means that if FOO has value '((2 3) 4) and someone does (CONS 1 FOO) => '(1 (2 3) 4); the value of FOO does not change, but the new list shares its structure.


If you do a cons cell diagram for this it will make perfect sense.




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

Search: