2 ms·
The Haskell version deals with both laziness and also detects overflow. Your C++ example has a lot more code than the C example, I'm not sure why you'd expect
by eru 2y ago
The Haskell version deals with both laziness and also detects overflow.
Your C++ example has a lot more code than the C example, I'm not sure why you'd expect it to produce the same output?