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

Use of type synonyms in Network.Tox.C.Tox #44

Closed
adscadscfr opened this issue Jan 22, 2021 · 1 comment
Closed

Use of type synonyms in Network.Tox.C.Tox #44

adscadscfr opened this issue Jan 22, 2021 · 1 comment
Milestone

Comments

@adscadscfr
Copy link

When browsing Network.Tox.C.Tox you see many type synonyms like

type FriendConnectionStatusCb a = Tox a -> Word32 -> Connection -> a -> IO a

I would say: leave the signature long-hand; it might be longer to type but much cleared when browsing haddock documentation.

@iphydf
Copy link
Member

iphydf commented Feb 13, 2022

I've removed all callbacks and replaced them with an event sum type.

@iphydf iphydf closed this as completed Feb 13, 2022
@iphydf iphydf added this to the 0.2.12 milestone Feb 13, 2022
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

No branches or pull requests

2 participants