diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Server.hs | 2 | ||||
-rw-r--r-- | examples/Shared.hs | 7 |
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 | ||
8 | main :: IO () | 8 | main :: IO () |
9 | main = server 6000 [handler echoInt] | 9 | main = 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 @@ | |||
1 | module Shared (echoInt, myconcat) where | 1 | module Shared (echoInt) where |
2 | 2 | ||
3 | import Remote.KRPC | 3 | import Remote.KRPC |
4 | 4 | ||
5 | echoInt :: Method IO Int Int | 5 | echoInt :: Method Int Int |
6 | echoInt = idM | 6 | echoInt = idM |
7 | |||
8 | myconcat :: Method IO [[Int]] [Int] | ||
9 | myconcat = concatM \ No newline at end of file | ||