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

add back linkThread for backwards compatibility #153

Merged
merged 3 commits into from
Oct 7, 2022

Conversation

dmvianna
Copy link
Contributor

@dmvianna dmvianna commented Oct 7, 2022

The removal of linkThread would force upstream users to make small rewrites of their applications. This little amend will mean everything old will still compile and work, hopefully without rewrites.

linkThread now does nothing except maintain the legacy API for backwards compatibility. Exceptions are bidirectional so linkThread no longer needed.

@dmvianna dmvianna changed the title add back linkThreads for backwards compatibility add back linkThread for backwards compatibility Oct 7, 2022
@istathar
Copy link
Member

istathar commented Oct 7, 2022

haddock does this nice thing where if there's no documentation for a function it's excluded from the rendered module documentation (but the function is still defined) assuming you have

{-# OPTIONS_HADDOCK prune #-}

which we do. I think I'll lop the documentation off, so this is a "hidden" function.

@istathar istathar merged commit 4ba1e14 into aesiniath:main Oct 7, 2022
@dmvianna dmvianna deleted the link-threads-again branch October 7, 2022 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants