2 ms·
This is the case with many low-level libraries with Haskell bindings. If you just wrap the C calls for some SQL database, or say, OpenGL, the resultant code en
by gamegoblin 11y ago
This is the case with many low-level libraries with Haskell bindings.
If you just wrap the C calls for some SQL database, or say, OpenGL, the resultant code ends up looking very imperative, stateful, and C-like.
Some people have tried to make more Haskell-ish wrappings with limited success.
Fortunately, even C-like Haskell is not totally awful. It's just not as nice as more idiomatic Haskell.