From aeacdd9630aebde2884cc5b028c1f99f967804c2 Mon Sep 17 00:00:00 2001 From: Stephen Diehl Date: Fri, 28 Oct 2016 16:41:28 +0100 Subject: [PATCH] include hashable --- protolude.cabal | 1 + src/Protolude.hs | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/protolude.cabal b/protolude.cabal index ac10baa85..a35fe7487 100644 --- a/protolude.cabal +++ b/protolude.cabal @@ -68,6 +68,7 @@ library async >= 2.1 && <2.2, deepseq >= 1.3 && <1.5, containers >= 0.5 && <0.6, + hashable >= 1.2 && <1.3, mtl >= 2.1 && <2.3, transformers >= 0.4 && <0.6, text >= 1.2 && <1.3, diff --git a/src/Protolude.hs b/src/Protolude.hs index fd74c5f53..18729c197 100644 --- a/src/Protolude.hs +++ b/src/Protolude.hs @@ -155,6 +155,14 @@ import Data.List as X ( , zip ) +-- Hashing +import Data.Hashable as X ( + Hashable + , hash + , hashWithSalt + , hashUsing + ) + import Data.Map as X (Map) import Data.Set as X (Set) import Data.Sequence as X (Seq)