Skip to content

Generalise types of run*Server which never cleanly return#13

Merged
snoyberg merged 1 commit intofpco:masterfrom
DaveCTurner:generalise-types
Dec 17, 2014
Merged

Generalise types of run*Server which never cleanly return#13
snoyberg merged 1 commit intofpco:masterfrom
DaveCTurner:generalise-types

Conversation

@DaveCTurner
Copy link
Copy Markdown
Contributor

Somewhat more controversial: These functions never cleanly return so IO () can be IO a.

On first reading, I figured they forked a thread that ran the accept loop based on the IO () return type.

Not clear to me whether this is a breaking API change or whether it's strictly more general. Feel free to reject!

Cheers,

@snoyberg
Copy link
Copy Markdown
Member

I need to think about this a bit more. I thought about this change at some point, and I think I came up with a concrete example of breakage from making the change, but I'm not certain.

@snoyberg
Copy link
Copy Markdown
Member

I've emailed the cafe about this, let's see if anyone has insight.

@snoyberg snoyberg merged commit e670ef9 into fpco:master Dec 17, 2014
@snoyberg
Copy link
Copy Markdown
Member

After the cafe discussion, I've decided to go ahead with this change as a minor version bump (0.1.8). Thanks!

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