Skip to content

Commit

Permalink
wai-eventsource: Export EventStream module.
Browse files Browse the repository at this point in the history
  • Loading branch information
meteficha committed Jul 25, 2012
1 parent ce9e737 commit 82f0ac2
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 82f0ac2

Please sign in to comment.