summaryrefslogtreecommitdiff
path: root/src/Data/Dependent/EnumMap/Strict/Internal.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Dependent/EnumMap/Strict/Internal.hs')
-rw-r--r--src/Data/Dependent/EnumMap/Strict/Internal.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Data/Dependent/EnumMap/Strict/Internal.hs b/src/Data/Dependent/EnumMap/Strict/Internal.hs
index 0d944ba..c2dcf95 100644
--- a/src/Data/Dependent/EnumMap/Strict/Internal.hs
+++ b/src/Data/Dependent/EnumMap/Strict/Internal.hs
@@ -132,7 +132,8 @@ member k (DEnumMap m) = IM.member (fst (fromEnum1 k)) m
null :: DEnumMap k v -> Bool
null (DEnumMap m) = IM.null m
--- size
+size :: DEnumMap k v -> Int
+size (DEnumMap m) = IM.size m
-- * Combine