haskell-game / dear-imgui.hs

Haskell bindings to Dear ImGui, an immediate mode GUI toolkit
BSD 3-Clause "New" or "Revised" License
142 stars 31 forks source link

Add a lower-bound on `inline-c` #84

Closed ocharles closed 3 years ago

ocharles commented 3 years ago

The bool type is only in 0.9 onwards.

ocharles commented 3 years ago

Never mind, it already has this! I just had allow-older in my cabal.project :facepalm:

TristanCacqueray commented 3 years ago

If I understand correctly, the bound is provided by internal dear-imgui-generator library. Out of curiosity, shouldn't the bounds be moved to the main library or is it common to set them only once anywhere in the cabal file?

ocharles commented 3 years ago

It's a bit weird, but in a sense it doesn't really matter where you set them. What you don't want to do is have to repeat them, as that's a recipe for confusing yourself!