Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit 1ee4cc5

Browse files
authored
Merge pull request #88 from rightfold/master
Make StrMap.size return an integer instead of a float
2 parents fa7c0c8 + b91dd5c commit 1ee4cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/StrMap.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ isEmpty :: forall a. StrMap a -> Boolean
145145
isEmpty = all (\_ _ -> false)
146146

147147
-- | Calculate the number of key/value pairs in a map
148-
foreign import size :: forall a. StrMap a -> Number
148+
foreign import size :: forall a. StrMap a -> Int
149149

150150
-- | Create a map with one key/value pair
151151
singleton :: forall a. String -> a -> StrMap a

0 commit comments

Comments
 (0)