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

fix renderFits #10

Merged
merged 2 commits into from
Apr 30, 2019
Merged

fix renderFits #10

merged 2 commits into from
Apr 30, 2019

Conversation

safareli
Copy link
Contributor

@safareli safareli commented Apr 27, 2019

So this fixes the issue when --help is taking too long to print. issue was that when i ported the Leijen module, I missed the fact lazy recursion in SimpleDoc was used for implementing best. because of that in haskell that function was linear when in purescript it was not (was Quadratic or worse). Here I added LazySimpleDoc which uses explicit laziness using Data.Lazy and renderFits works well now.

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

Successfully merging this pull request may close these issues.

1 participant