summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorattil-io <parrotchaffinch@gmail.com>2017-10-11 19:49:55 +0200
committerGitHub <noreply@github.com>2017-10-11 19:49:55 +0200
commit1ca9a0911060d46609aa2b715002607fae3cc272 (patch)
tree8997f8c2ca001bcbab2b424c671af89d8b40dc28
parent29e2f9eddbd84808b48646a85c89fbc827535eea (diff)
Fix typo
Remove unnecessary closing parenthesis from inline-2 macro.
-rw-r--r--clojure-macros.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/clojure-macros.html.markdown b/clojure-macros.html.markdown
index 89066faf..3864f676 100644
--- a/clojure-macros.html.markdown
+++ b/clojure-macros.html.markdown
@@ -131,7 +131,7 @@ You'll want to be familiar with Clojure. Make sure you understand everything in
; However, we'll need to make it a macro if we want it to be run at compile time
(defmacro inline-2 [form]
- (inline-2-helper form)))
+ (inline-2-helper form))
(macroexpand '(inline-2 (1 + (3 / 2) - (1 / 2) + 1)))
; -> (+ (- (+ 1 (/ 3 2)) (/ 1 2)) 1)