From c78ea654ff04cdabd101f044bbbec234181375cb Mon Sep 17 00:00:00 2001 From: Carlo Sciolla Date: Wed, 21 Oct 2020 15:12:27 +0200 Subject: [PATCH] Use a string property to illustrate #or + #env Using a number in the example is misleading since it produces either a string or a long. Better use something that isn't a number to begin with --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 906dce4..a6d2ff9 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ Use `#envf` to insert environment variables into a formatted string. Use `#or` when you want to provide a list of possibilities, perhaps with a default at the end. ```clojure -{:port #or [#env PORT 8080]} +{:user #or [#env USER "alice"]} ``` ### join