Re:When is a recursive function not a recursive function?
by tome on Monday October 06, 2014 @03:44AM
(#8414730)
It works in OCaml too, where lists certainly are not functions!
[ Parent
| on HN ]
Re:When is a recursive function not a recursive function?
by poizan42 on Monday October 06, 2014 @04:56AM
(#8414884)
I don't know OCaml, but logically it cannot be an actual realized list as the would take up an infinite amount of memory. Whether or not it acts like a function in the language wasn't really the point - internally it must still be an iterator unless you have a computer with an infinite amount of memory.