2 ms·
In Haskell, it's effectively mandatory in all but the simplest programs, as there's no other way to implement any form of looping. It's usually done via higher-
by josephcsible 4y ago
In Haskell, it's effectively mandatory in all but the simplest programs, as there's no other way to implement any form of looping. It's usually done via higher-order functions like foldr rather than explicitly, though, which mitigates almost all of the danger.