1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-11 01:04:10 +02:00

Merge pull request #2905 from attil-io/master

[clojure-macros/en] Fix typo
This commit is contained in:
Andre Polykanine A.K.A. Menelion Elensúlë
2017-10-11 22:14:16 +03:00
committed by GitHub

View File

@@ -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)