Re:Python 3 Q&A by a prolific core developer
by qznc on Friday June 29, 2012 @05:33AM
(#4175897)
The thing is that a circular list is actually an infinite list in Haskell. ;)
[ Parent
| on HN ]
Re:Python 3 Q&A by a prolific core developer
by DannoHung on Friday June 29, 2012 @11:27AM
(#4177077)
If you want to prevent that then you want to take general recursion out of your programming language and if you're gonna do that you might as well make it Turing incomplete.
These aren't "circles" per se, they are partially evaluated recursive structures. If you expand them you end up with evaluated list structures that are non-self referential.