summaryrefslogtreecommitdiff
path: root/examples/Server.hs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Server.hs')
-rw-r--r--examples/Server.hs8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/Server.hs b/examples/Server.hs
index 3760b2ab..0407c304 100644
--- a/examples/Server.hs
+++ b/examples/Server.hs
@@ -6,4 +6,10 @@ import Shared
6 6
7 7
8main :: IO () 8main :: IO ()
9main = server 6000 [swapM ==> \(a, b) -> return (b, a)] 9main = server 6000
10 [ unitM ==> return
11 , echoM ==> return
12 , swapM ==> \(a, b) -> return (b, a)
13 , reverseM ==> return . reverse
14 , shiftR ==> \(a, b, c) -> return (c, a, b)
15 ]