Skip to content

Commit

Permalink
add prepend/append; bump 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Dec 31, 2017
1 parent c2be43c commit 7aec990
Show file tree
Hide file tree
Showing 5 changed files with 593 additions and 19 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ bisection-key
### Usage

```edn
[cirru/bisection-key "0.1.3"]
[cirru/bisection-key "0.1.4"]
```

[![Clojars Project](https://img.shields.io/clojars/v/cirru/bisection-key.svg)](https://clojars.org/cirru/bisection-key)
Expand All @@ -24,8 +24,13 @@ bisection-key.core/max-id ; "z"
; (def v {"a" 1, "b" 1})
(bisection-key.util/key-before v "b") ; "aT"
(bisection-key.util/key-after v "a") ; "aT"
(bisection-key.util/key-prepend v) ; "G"
(bisection-key.util/key-append v) ; "n"

(bisection-key.util/assoc-after v "a" 2) ; (assoc v "aT" 2)
(bisection-key.util/assoc-before v "b" 2) ; (assoc v "aT" 2)
(bisection-key.util/assoc-prepend v 2) ; (assoc v "G" 2)
(bisection-key.util/assoc-append v 2) ; (assoc v "n" 2)
```

Charset:
Expand Down
2 changes: 1 addition & 1 deletion build.boot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
:username "jiyinyiyong"
:password (read-password "Clojars password: ")}]))

(def +version+ "0.1.3")
(def +version+ "0.1.4")

(deftask deploy []
(comp
Expand Down
Loading

0 comments on commit 7aec990

Please sign in to comment.