evhub / rabbit

Rabbit is a modern, functional programming language built on top of Python.
14 stars 1 forks source link

Add true lazy evaluation #24

Open evhub opened 10 years ago

evhub commented 10 years ago

This one needs more consideration and might not be a final feature. Implementing it would be very difficult and might mess up certain other procedures, like memoization, or at least significantly complicate them.

For implementation guidelines, see: https://en.wikipedia.org/wiki/Graph_reduction

evhub commented 10 years ago

Use generators for this.