1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-01-17 13:38:38 +01:00

[clojure-macros/zh-cn] Delete a unmatched parenthesis. (#4599)

This commit is contained in:
Xianguang Zhou 2023-02-17 17:54:37 +08:00 committed by GitHub
parent 5e3762d4c6
commit c3cc321c31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,7 @@ lang: zh-cn
; 然而,如果我们希望它在编译期执行,就需要创建宏
(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)