-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathreflex-backend-socket.cabal
94 lines (87 loc) · 3.57 KB
/
reflex-backend-socket.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
-- Initial reflex-backend-socket.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: reflex-backend-socket
version: 0.2.0.1
synopsis: Reflex bindings for TCP sockets
description:
<<https://raw.githubusercontent.com/qfpl/assets/master/data61-transparent-bg.png>>
.
reflex-backend-socket provides functions to handle sockets using
Reflex @Event@s. Sending\/receiving\/waiting\/accepting are all
performed on background threads.
.
The most important function in this library is
@Reflex.Backend.Socket.socket@, which wraps a @Socket@ to process
@Event t ByteString@s.
.
That @Socket@ can come from:
.
1. @Reflex.Backend.Socket.Accept.accept@, if you're making a server;
2. @Reflex.Backend.Socket.Connect.connect@, if you're making a client; or
3. Your favourite networking library.
license: BSD3
license-file: LICENSE
author: Dave Laing
maintainer: [email protected], [email protected]
homepage: https://github.com/qfpl/reflex-backend-socket/
bug-reports: https://github.com/qfpl/reflex-backend-socket/issues
copyright: (c) 2018-2019, Commonwealth Scientific and Industrial Research Organisation
category: FRP, Network
build-type: Simple
extra-source-files: ChangeLog.md
cabal-version: >=1.10
tested-with: GHC == 8.6.5
source-repository head
type: git
location: [email protected]/qfpl/reflex-backend-socket.git
library
exposed-modules: Reflex.Backend.Socket
, Reflex.Backend.Socket.Accept
, Reflex.Backend.Socket.Connect
, Reflex.Backend.Socket.Error
build-depends: base >= 4.12 && < 4.16
, bytestring >= 0.10 && < 0.12
, lens >= 4.15.4 && < 4.20 || >= 5 && <5.2
, mtl >= 2.2 && < 2.4
, network >= 2.6 && < 3.2
, reflex >= 0.7.1.0 && < 0.9
, semialign >= 1 && < 1.3
, semigroupoids >= 5.2.2 && < 5.4
, stm >= 2.4 && < 2.6
, these >= 1 && < 1.2
hs-source-dirs: src
ghc-options: -Wall
default-language: Haskell2010
executable example-server
main-is: Server.hs
build-depends: base
, bytestring
, containers >= 0.5 && < 0.7
, lens
, network
, reflex
, reflex-backend-socket
hs-source-dirs: example
ghc-options: -Wall -threaded
default-language: Haskell2010
executable example-client
main-is: Client.hs
build-depends: base
, bytestring
, network
, reflex
, reflex-backend-socket
hs-source-dirs: example
ghc-options: -Wall -threaded
default-language: Haskell2010
executable example-others
main-is: Others.hs
build-depends: base
, bytestring
, network
, reflex
, reflex-backend-socket
, witherable >= 0.4 && < 0.5
hs-source-dirs: example
ghc-options: -Wall -threaded
default-language: Haskell2010