Re:What I Wish I Knew When Learning Haskell
by Koshkin on Saturday April 11, 2020 @03:16PM
(#22843505)
Actually, someone said, “Haskell is the world’s best imperative programming language.”
Re:What I Wish I Knew When Learning Haskell
by sullyj3 on Sunday April 12, 2020 @10:24AM
(#22848426)
Somebody said it, but it's glib, and not particularly true. I believe it was a comment on do notation, the bind operation, and programmable semicolons. The customizability is definitely cool, but nobody could possibly argue that imperative programming in Haskell is ergonomic.
If you need to temporarily bypass purity there's unsafePerformIO and friends (or they can occasionally be used permanently if you do a lot of analysis I believe).
It's a pretty practical language compared to its reputation.