Merge pull request #458 from scolsen/master

Map: Fix small typo in doc empty?
This commit is contained in:
Erik Svedäng 2019-05-24 19:48:41 +02:00 committed by GitHub
commit 7795eb52ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,7 +180,7 @@
(set! c (+ c (Array.length (Bucket.entries (Array.nth (buckets m) i)))))) (set! c (+ c (Array.length (Bucket.entries (Array.nth (buckets m) i))))))
c)) c))
(doc empty "Check whether the map m is empty.") (doc empty? "Check whether the map m is empty.")
(defn empty? [m] (defn empty? [m]
(= (length m) 0)) (= (length m) 0))