Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider switching to haskell-gi #953

Open
ghost opened this issue Dec 11, 2016 · 4 comments
Open

Consider switching to haskell-gi #953

ghost opened this issue Dec 11, 2016 · 4 comments

Comments

@ghost
Copy link

ghost commented Dec 11, 2016

The haskell-gi bindings for GTK/Pango are worth considering since they are much more complete and easier to maintain.

@Fuuzetsu
Copy link
Member

It only works with GHC 8.0+ due to OverloadedLabels. If that's ok then maybe I'd be in favour. I want to throw away a lot of the code in pango area anyway.

@mrkgnao
Copy link
Contributor

mrkgnao commented Jul 26, 2017

OverloadedLabels makes for extremely slow compiles. Leksah, for instance, stopped using the labels (you can write, e.g. scrollbarDelete w instead of #delete w): leksah/leksah#303

@jhance
Copy link
Member

jhance commented Jul 26, 2017

Do we pay the compilation penalty for it as a user of the library though?

@mrkgnao
Copy link
Contributor

mrkgnao commented Jul 27, 2017

You mean even if we don't use the labels in Yi itself? I don't think there's any significant penalty in that case; that's what Leksah did, for instance.

I do think there are gains to be had by removing OverloadedLabels altogether from haskell-gi, since there are hundreds of, e.g. generated IsLabel instances we won't be using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants