-
Notifications
You must be signed in to change notification settings - Fork 3
/
chat-server-example.cabal
43 lines (38 loc) · 1.33 KB
/
chat-server-example.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: chat-server-example
version: 0.1
synopsis: Example chat server demonstrating async I/O and STM
description:
A simple chat server demonstrating asynchronous I/O (via threads) and STM.
.
What it does:
.
* Listens for connections on port 1234.
.
* When a client connects, it asks for their name.
.
* If another client with the same name is already disconnected, that client
is kicked out to make way for the new client.
.
* Any lines the client sends are broadcast to all other clients.
.
* Connect and disconnect notices are broadcast as well.
homepage: https://github.com/joeyadams/haskell-chat-server-example
license: BSD3
license-file: LICENSE
author: Joey Adams
maintainer: [email protected]
copyright: Copyright (c) Joseph Adams 2012
category: Concurrency
build-type: Simple
cabal-version: >=1.8
source-repository head
type: git
location: git://github.com/joeyadams/haskell-chat-server-example.git
executable chat-server-example
main-is: Main.hs
ghc-options: -Wall
other-extensions: RecordWildCards
build-depends: base >= 4.3 && < 5
, containers
, network
, stm >= 2.3