mirror of
https://github.com/snoyberg/keter.git
synced 2024-12-14 17:12:46 +03:00
Run stylish-haskell on websockets chat example.
This commit is contained in:
parent
98827e1e36
commit
eb51ca8d3e
@ -1,16 +1,20 @@
|
|||||||
{-# LANGUAGE QuasiQuotes, TemplateHaskell, TypeFamilies, OverloadedStrings #-}
|
{-# LANGUAGE OverloadedStrings #-}
|
||||||
import Yesod.Core
|
{-# LANGUAGE QuasiQuotes #-}
|
||||||
import Yesod.WebSockets
|
{-# LANGUAGE TemplateHaskell #-}
|
||||||
import qualified Data.Text.Lazy as TL
|
{-# LANGUAGE TypeFamilies #-}
|
||||||
|
|
||||||
|
import Control.Concurrent (threadDelay)
|
||||||
|
import Control.Concurrent.STM.Lifted
|
||||||
import Control.Monad (forever)
|
import Control.Monad (forever)
|
||||||
import Control.Monad.Trans.Reader
|
import Control.Monad.Trans.Reader
|
||||||
import Control.Concurrent (threadDelay)
|
|
||||||
import Data.Time
|
|
||||||
import Data.Conduit
|
import Data.Conduit
|
||||||
import qualified Data.Conduit.List as CL
|
import qualified Data.Conduit.List as CL
|
||||||
import Data.Monoid ((<>))
|
import Data.Monoid ((<>))
|
||||||
import Control.Concurrent.STM.Lifted
|
|
||||||
import Data.Text (Text)
|
import Data.Text (Text)
|
||||||
|
import qualified Data.Text.Lazy as TL
|
||||||
|
import Data.Time
|
||||||
|
import Yesod.Core
|
||||||
|
import Yesod.WebSockets
|
||||||
|
|
||||||
data App = App (TChan Text)
|
data App = App (TChan Text)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user