Update tutorial.rst
Changed case of function call in Macro
This commit is contained in:
parent
4d5eafb442
commit
e2614cc24a
@ -514,7 +514,7 @@ the program starts executing normally. Very simple example:
|
|||||||
|
|
||||||
=> (defmacro hello [person]
|
=> (defmacro hello [person]
|
||||||
... `(print "Hello there," ~person))
|
... `(print "Hello there," ~person))
|
||||||
=> (Hello "Tuukka")
|
=> (hello "Tuukka")
|
||||||
Hello there, Tuukka
|
Hello there, Tuukka
|
||||||
|
|
||||||
The thing to notice here is that hello macro doesn't output anything on
|
The thing to notice here is that hello macro doesn't output anything on
|
||||||
|
Loading…
x
Reference in New Issue
Block a user