Skip to content

Commit

Permalink
Merge pull request #95 from meteficha/eventsource-fix
Browse files Browse the repository at this point in the history
wai-eventsource: Export EventStream module.
  • Loading branch information
snoyberg committed Jul 27, 2012
2 parents ce9e737 + 82f0ac2 commit 22aefe4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions wai-eventsource/src/Network/Wai/EventSource.hs
@@ -1,4 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-|
A WAI adapter to the HTML5 Server-Sent Events API.
-}
module Network.Wai.EventSource (
ServerEvent(..),
eventSourceAppChan,
Expand Down
3 changes: 1 addition & 2 deletions wai-eventsource/src/Network/Wai/EventSource/EventStream.hs
Expand Up @@ -2,8 +2,7 @@
{- code adapted by Mathias Billman originaly from Chris Smith https://github.com/cdsmith/gloss-web -}

{-|
A WAI adapter to the HTML5 Server-Sent Events API. Push-mode and
pull-mode interfaces are both available.
Internal module, usually you don't need to use it.
-}
module Network.Wai.EventSource.EventStream (
ServerEvent(..),
Expand Down
5 changes: 3 additions & 2 deletions wai-eventsource/wai-eventsource.cabal
Expand Up @@ -25,8 +25,9 @@ Library

ghc-options: -Wall
hs-source-dirs: src
exposed-modules: Network.Wai.EventSource
other-modules: Network.Wai.EventSource.EventStream
exposed-modules:
Network.Wai.EventSource
Network.Wai.EventSource.EventStream

source-repository head
type: git
Expand Down

0 comments on commit 22aefe4

Please sign in to comment.