evhub / rabbit

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

Add a pure statement #98

Closed evhub closed 10 years ago

evhub commented 10 years ago

Add a pure statement that makes setreturned raise an error whenever it is set to True. Additionally, to make this work, setreturned will have to be called before any side-effects are produced rather than after.