From 5ea6d917b6b02e23519b1c19fc953f55415d603a Mon Sep 17 00:00:00 2001 From: Randall Mason Date: Sun, 15 Dec 2019 14:44:38 -0600 Subject: [PATCH] Fix default value in map It should return "Sorry, no Linux", not `nil`. --- source/index.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/index.html.md b/source/index.html.md index 678bdb8..6b55182 100644 --- a/source/index.html.md +++ b/source/index.html.md @@ -1512,7 +1512,7 @@ You get `nil` when key doesn't exist. ```clojure user=> (get {:Apple "Mac" :Microsoft "Windows"} :Linux "Sorry, no Linux") -nil +"Sorry, no Linux" ```