| ▲ | mrkeen an hour ago | |
No, they are function colouring. That's the point. Someone writes a post lamenting red and blue functions, and everyone eats it up. Substitute colour for something meaningful and the idea becomes idiotic. "Top level function declares that it is non-blocking, but when I try to call a small blocking function from it, I have to change the declaration to blocking???" Yes, yes you do. Total functions can't call non-total functions. Deterministic functions can't call nondeterministic functions. Non-IO functions can't call IO functions. | ||