mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-05 04:44:12 +03:00
Merge pull request #458 from scolsen/master
Map: Fix small typo in doc empty?
This commit is contained in:
commit
7795eb52ae
@ -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))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user