diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-05-20 14:05:57 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-05-20 14:05:57 -0400 |
commit | 2e16195d151d401a664fa929604413aa613aa9f5 (patch) | |
tree | 5ee2dbedf23fc09fd9b242c17d18949c158238da | |
parent | cb5fb11eb6e37588d1a6ad97c6e6b8ab3fdd3e68 (diff) | |
download | debug-me-2e16195d151d401a664fa929604413aa613aa9f5.tar.gz |
simplify, removing () instance
-rw-r--r-- | Hash.hs | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -85,8 +85,5 @@ instance Hashable [Hash] where -- | Hash empty string for Nothing instance Hashable (Maybe Hash) where - hash Nothing = hash () + hash Nothing = hash (mempty :: B.ByteString) hash (Just v) = hash v - -instance Hashable () where - hash () = hash (mempty :: B.ByteString) |