3 ms·
Now that it's released, it's time to experiment with what it can do. ``` from cataclysm import doom def mystery_func(): while True: pass # predic
by JohnBerryman 4y ago
Now that it's released, it's time to experiment with what it can do.
```
from cataclysm import doom
def mystery_func():
while True:
pass
# predict if specified function halts
print(doom.does_it_halt(mystery_func))
```
- thorax 4y agoAh, really curious if it'll balk at the age old problem or just answer based on the code provided since it does inspect the nearby code to understand context for the generated code. I'll have to try that when I get back to my desk!