3 ms·
There is one more way to make sure that variables do not stand of bottom -- make sure that you only write terminating functions. Then the equational theory for
by vilhelm_s 10y ago
There is one more way to make sure that variables do not stand of bottom -- make sure that you only write terminating functions. Then the equational theory for strict and lazy evaluation becomes the same.
I think this is the main reason that people don't worry too much about bottom: in practice all functions should terminate anyway. If your program gets stuck in an infinite loop, you probably have bug.
- catnaroek 10y ago> in practice all functions should terminate anyway Sometimes they terminate with an exception.