diff options
author | joe <joe@jerkface.net> | 2017-07-01 13:12:05 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2017-07-01 13:12:05 -0400 |
commit | 5bd6e7470f003fc9b5846e024eeb86be6282b41d (patch) | |
tree | 3663dba32c3e95451a6e697fe95f1a7b5c83fac6 /examples | |
parent | 57dd508dcf9dc6fee1510ff52e9783e4b2afe8f5 (diff) |
Removed unnecessary instances.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/dhtd.hs | 9 |
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 | ||
232 | instance Pretty (NodeId Tox.Message) where pPrint (Tox.NodeId nid) = encodeHexDoc nid | 232 | instance Pretty (NodeId Tox.Message) where pPrint (Tox.NodeId nid) = encodeHexDoc nid |
233 | 233 | ||
234 | instance Serialize (FindNode Tox.Message IPv4) where | ||
235 | get = error "TODO get 1" | ||
236 | put = error "TODO put 2" | ||
237 | instance Serialize (NodeFound Tox.Message IPv4) where | ||
238 | get = error "TODO get 3" | ||
239 | put = error "TODO put 4" | ||
240 | instance Serialize (Ping Tox.Message) where | ||
241 | get = error "TODO get 5" | ||
242 | put = error "TODO put 6" | ||
243 | instance Serialize (Query Tox.Message (FindNode Tox.Message IPv4)) where | 234 | instance 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" |