Skip to content

Commit

Permalink
Cut stable release
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiesardo committed Oct 26, 2014
1 parent 9e6a9da commit b4f7abf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ Map and Set structures that rememeber the insertion order of its elements, even

## Download

[![Clojars Project](http://clojars.org/linked/latest-version.svg)](http://clojars.org/linked)
[![Clojars Project](http://clojars.org/frankiesardo/linked/latest-version.svg)](http://clojars.org/frankiesardo/linked)

## Map

(use 'linked.map)

(linked-map :b 2 :a 1 :d 4)
=> #linked/map ([:b 2] [:a 1] [:d 4])
=> #linked/map {:b 2, :a 1, :d 4}

(assoc (ordered-map :b 2 :a 1 :d 4) :c 3)
=> #linked/map ([:b 2] [:a 1] [:d 4] [:c 3])
=> #linked/map {:b 2, :a 1, :d 4, :c 3}

(into (linked-map) [[:c 3] [:a 1] [:d 4]])
=> #linked/map ([:c 3] [:a 1] [:d 4])
=> #linked/map {:c 3, :a 1, :d 4}

(dissoc (linked-map :c 3 :a 1 :d 4) :a)
=> #linked/map ([:c 3] [:d 4])
=> #linked/map {:c 3, :d 4}

## Set

Expand Down
8 changes: 5 additions & 3 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject frankiesardo/linked "1.0.0"
(defproject frankiesardo/linked "1.0.4"
:description "Efficient ordered map and set"
:url "http://github.com/frankiesardo/linked"
:license {:name "Eclipse Public License"
Expand All @@ -11,8 +11,10 @@
[com.cemerick/clojurescript.test "0.3.1"]]
:aliases {"cleantest" ["do" "clean," "cljx" "once," "test,"
"cljsbuild" "test"]
"cleancheck" ["do" "clean," "cljx" "once," "check"]
"deploy" ["do" "clean," "cljx" "once," "deploy" "clojars"]}}}
"cleancheck" ["do" "clean," "cljx" "once," "check"]}}}

:auto-clean false
:jar-exclusions [#"\.cljx"]

:cljx {:builds [{:source-paths ["src"]
:output-path "target/classes"
Expand Down

0 comments on commit b4f7abf

Please sign in to comment.