I’m not exactly sure what chrisdone means by the FFI, but:
Haskell has a family of libraries prefixed with inline, which uses quasi-quotes to allow you to embed slightly modified code from other languages into Haskell, alongside having FFI support. This ends up providing an extremely ergonomic form of FFI.
Inline-c is the most mature inline / FFI library.
There’s also Tweag’s inline-js, which seems abandoned, as well as Juspay’s inline-js fork.
Ideally, this would solve Haskell’s ecosystem problem at a stroke; F# has access to the .NET ecosystem, Clojure and Scala have access to the JVM ecosystem, but in theory, Haskell can have ergonomic access to the .NET, JVM, npm, cargo, AND Python ecosystems, which would be an extremely strong selling point for Haskell in production use.
And some of the most successful Haskell projects, in reality, are just wrappers around C++ (SC’s Mu dialect system and Meta’s Sigma), but C++ FFI is generally challenging. A world of Haskell wrapping Rust (also challenging to FFI) is actually a pretty cool world in my book.