Skip to content

Update wai-eventsource to use Conduits.#29

Merged
gregwebs merged 1 commit intoyesodweb:masterfrom
BardurArantsson:eventsource-conduits
Jan 13, 2012
Merged

Update wai-eventsource to use Conduits.#29
gregwebs merged 1 commit intoyesodweb:masterfrom
BardurArantsson:eventsource-conduits

Conversation

@BardurArantsson
Copy link
Copy Markdown
Contributor

Hi,

I needed an EventSource implementation for a little, so I've updated wai-eventsource to use Conduit.

The changes themselves should be uncontroversial, though perhaps not particularly elegant since this is my first stab at using conduits.

Cheers,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(const ign) and (const $ fmap (f . eventToBuilder) $ readChan chan) might be better

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been prettified in my other pull request, thanks. :)

@gregwebs gregwebs merged commit 2f7f82f into yesodweb:master Jan 13, 2012
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.

3 participants