My biggest problem with Haskell right now is not so much the language itself – I love it!!! – but the interface with external libraries, like Dear ImGui, for example. There are inconsistencies with what should be an “Int” and a “Enum” in the typing that stops the compilation cold in its tracks.
I was told that the autogen tool that created the FFI between Haskell and ImGui is, in so many words, a bit janky, and fixing one problem may break others.
I would love to see problems like this resolved faster.
It would also help to see better documentation with the Haskell libraries as well. With examples. And better support for LLVM as well. Better support for ARM architectures would also be a clear win.
Basically, I want to be able to turn to Haskell in all places I normally would have to resort to using C++, Python, Ruby or even (ugh!!!) Rust. Why is not Haskell eating Rust’s lunch? Doing complex data structures in Rust is a real pain, having always to fight with its borrow checker or spraying “unsafe” all over the code. I want to focus on the problem I am trying to solve, not on making the compiler happy!!!
I will not be giving up on Haskell anytime soon, because Haskell allows me to think more mathematically than any other language I’ve used to this point. Not sure of OCaml or even Coq would be better… have not learned either yet, and I hope I don’t have to.