Thunk (a.k.a. lazy objects) in PyPy.
To run on top of the thunk object space with the following command-line:
- py.py -o thunk
+ py.py -o thunk .py
This is a typical Functional Programming Languages demo, computing the
Fibonacci sequence by using an infinite lazy linked list.
- thunk # only available in 'py.py -o thunk'
+ from __pypy__ import thunk # only available in 'py.py -o thunk'