diff options
Diffstat (limited to 'src/Crypto/Tox.hs')
-rw-r--r-- | src/Crypto/Tox.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Crypto/Tox.hs b/src/Crypto/Tox.hs index 839bd68a..4fc87f7c 100644 --- a/src/Crypto/Tox.hs +++ b/src/Crypto/Tox.hs | |||
@@ -496,7 +496,8 @@ data Asymm a = Asymm | |||
496 | , asymmNonce :: Nonce24 | 496 | , asymmNonce :: Nonce24 |
497 | , asymmData :: a | 497 | , asymmData :: a |
498 | } | 498 | } |
499 | deriving (Functor,Foldable,Traversable, Show) | 499 | deriving (Functor,Foldable,Traversable, Show, Eq, Ord) |
500 | |||
500 | 501 | ||
501 | instance Sized a => Sized (Asymm a) where | 502 | instance Sized a => Sized (Asymm a) where |
502 | size = case size of | 503 | size = case size of |