Why is Haskell (sometimes) referred to as “Best Imperative Language”?
I consider it a half-truth. Haskell has an amazing ability to abstract, and that includes abstraction over imperative ideas. For example, Haskell has no built-in imperative while loop, but we can just write it and now it does: while :: (Monad m) => m Bool -> m () -> m () while cond action = … Read more