Skip to content

Commit eebcee3

Browse files
committed
:else for conditions: remove condp (won't work)
`condp` can't usually take an :else label for its default since it's rare that the predicate would happen to evaluate to `true` for :else --- as demonstrated by the next example which uses condp with an unlabelled default.
1 parent ce02079 commit eebcee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ pairwise constructs as found in e.g. `let` and `cond`.
569569
(.. System getProperties (get "os.name"))
570570
```
571571

572-
* Use `:else` as the catch-all test expression in `cond` and `condp`.
572+
* Use `:else` as the catch-all test expression in `cond`.
573573

574574
```Clojure
575575
;; good

0 commit comments

Comments
 (0)