We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
API
When configured with aatree.core.basic-opts, the Sorted Map created by the aatree.core.new-sorted-map function is an empty AAMap.
(ns aatree.basic-sorted-map-examples (:require [aatree.core :refer :all])) (set! *warn-on-reflection* true) (def opts (basic-opts)) (def bm1 (conj (new-sorted-map opts) {:dog "Jack" :cat "Sammy" :rabbit "Henry"})) (println bm1); -> {:cat Sammy, :dog Jack, :rabbit Henry} (println (nth bm1 1)); -> [:dog Jack] (println (rseq bm1)); -> ([:rabbit Henry] [:dog Jack] [:cat Sammy])