(-print _ writer)
It outputs an EDN representation to the writer
It outputs an EDN representation to the writer
(add-item _ item)
Probably adds the item to the reservoir and returns a new reservoir which could contain this item.
Probably adds the item to the reservoir and returns a new reservoir which could contain this item.
(algorithm _)
Returns the algorithm used for the reservoir
Returns the algorithm used for the reservoir
(capacity _)
Returns the capacity of the reservoir
Returns the capacity of the reservoir
(samples _)
Returns the items from currently stored in the reservoir
Returns the items from currently stored in the reservoir
(total-items _)
Returns the total number of items
Returns the total number of items
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close