Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
- fixed a typo in the sample output provided for `s-assoc-value`
- modified the sample to match the ones further below
  • Loading branch information
bahmanm authored and vindarel committed Dec 22, 2020
1 parent 9d2d881 commit 072b8eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -679,9 +679,9 @@ The arguments are in the opposite order of `cl:assoc`'s, but are consistent
with `alexandria:assoc-value` (and `str`).

```lisp
(s-assoc-value '(("hello" . 1) ("world" . 2)) "world")
;; => 1
;; ("world" . 2)
(s-assoc-value '(("hello" . 1)) "hello")
;; 1
;; ("hello" . 1)
(alexandria:assoc-value '(("hello" . 1)) "hello")
;; NIL
Expand Down

0 comments on commit 072b8eb

Please sign in to comment.