summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Server.hs2
-rw-r--r--examples/Shared.hs7
2 files changed, 3 insertions, 6 deletions
diff --git a/examples/Server.hs b/examples/Server.hs
index 027e0453..550bc344 100644
--- a/examples/Server.hs
+++ b/examples/Server.hs
@@ -6,4 +6,4 @@ import Shared
6 6
7 7
8main :: IO () 8main :: IO ()
9main = server 6000 [handler echoInt] 9main = server 6000 [undefined]
diff --git a/examples/Shared.hs b/examples/Shared.hs
index 77986125..efe345ac 100644
--- a/examples/Shared.hs
+++ b/examples/Shared.hs
@@ -1,9 +1,6 @@
1module Shared (echoInt, myconcat) where 1module Shared (echoInt) where
2 2
3import Remote.KRPC 3import Remote.KRPC
4 4
5echoInt :: Method IO Int Int 5echoInt :: Method Int Int
6echoInt = idM 6echoInt = idM
7
8myconcat :: Method IO [[Int]] [Int]
9myconcat = concatM \ No newline at end of file