summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-07-01 13:12:05 -0400
committerjoe <joe@jerkface.net>2017-07-01 13:12:05 -0400
commit5bd6e7470f003fc9b5846e024eeb86be6282b41d (patch)
tree3663dba32c3e95451a6e697fe95f1a7b5c83fac6 /examples
parent57dd508dcf9dc6fee1510ff52e9783e4b2afe8f5 (diff)
Removed unnecessary instances.
Diffstat (limited to 'examples')
-rw-r--r--examples/dhtd.hs9
1 files changed, 0 insertions, 9 deletions
diff --git a/examples/dhtd.hs b/examples/dhtd.hs
index 2c4f0778..dd038d70 100644
--- a/examples/dhtd.hs
+++ b/examples/dhtd.hs
@@ -231,15 +231,6 @@ instance Kademlia Tox.Message where
231 231
232instance Pretty (NodeId Tox.Message) where pPrint (Tox.NodeId nid) = encodeHexDoc nid 232instance Pretty (NodeId Tox.Message) where pPrint (Tox.NodeId nid) = encodeHexDoc nid
233 233
234instance Serialize (FindNode Tox.Message IPv4) where
235 get = error "TODO get 1"
236 put = error "TODO put 2"
237instance Serialize (NodeFound Tox.Message IPv4) where
238 get = error "TODO get 3"
239 put = error "TODO put 4"
240instance Serialize (Ping Tox.Message) where
241 get = error "TODO get 5"
242 put = error "TODO put 6"
243instance Serialize (Query Tox.Message (FindNode Tox.Message IPv4)) where 234instance Serialize (Query Tox.Message (FindNode Tox.Message IPv4)) where
244 get = error "TODO get 7" 235 get = error "TODO get 7"
245 put = error "TODO put 8" 236 put = error "TODO put 8"