From 828c99fb7b86367465bf90298dce7c05610afd7d Mon Sep 17 00:00:00 2001 From: Felipe Lessa Date: Mon, 20 Aug 2012 11:39:11 -0300 Subject: [PATCH] wai-eventsource: Fix misleading doc on RepEventSource. --- yesod-eventsource/Yesod/EventSource.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yesod-eventsource/Yesod/EventSource.hs b/yesod-eventsource/Yesod/EventSource.hs index c860459a..522116ea 100644 --- a/yesod-eventsource/Yesod/EventSource.hs +++ b/yesod-eventsource/Yesod/EventSource.hs @@ -22,8 +22,8 @@ import qualified Network.Wai.EventSource.EventStream as ES --- | Phantom type used for 'Handler'@s@ that are @EventSources@ --- (e.g. 'repEventSource' and 'ioToRepEventSource'). +-- | Data type representing a response of server-sent events +-- (e.g., see 'repEventSource' and 'ioToRepEventSource'). newtype RepEventSource = RepEventSource (C.Source (C.ResourceT IO) (C.Flush Builder))