docs/api:formatting fixes in quote' and
unquote'
A newline was omitted which caused the examples not to render for quote and unquote forms
This commit is contained in:
parent
8fa59b653c
commit
d8c29f51d6
@ -736,6 +736,7 @@ using the backquote (`) symbol.
|
|||||||
|
|
||||||
|
|
||||||
.. code-block:: clj
|
.. code-block:: clj
|
||||||
|
|
||||||
;; let `qux' be a variable with value (bar baz)
|
;; let `qux' be a variable with value (bar baz)
|
||||||
`(foo ~qux)
|
`(foo ~qux)
|
||||||
; equivalent to '(foo (bar baz))
|
; equivalent to '(foo (bar baz))
|
||||||
@ -751,6 +752,7 @@ be alternatively written using the (') symbol
|
|||||||
|
|
||||||
|
|
||||||
.. code-block:: clj
|
.. code-block:: clj
|
||||||
|
|
||||||
=> (setv x '(print "Hello World"))
|
=> (setv x '(print "Hello World"))
|
||||||
; variable x is set to expression & not evaluated
|
; variable x is set to expression & not evaluated
|
||||||
=> x
|
=> x
|
||||||
@ -758,6 +760,7 @@ be alternatively written using the (') symbol
|
|||||||
=> (eval x)
|
=> (eval x)
|
||||||
Hello World
|
Hello World
|
||||||
|
|
||||||
|
|
||||||
require
|
require
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user