Merge pull request #342 from theanalyst/doc-fix
docs/api:formatting fixes in `quote' and `unquote'
This commit is contained in:
commit
8745024058
@ -736,6 +736,7 @@ using the backquote (`) symbol.
|
||||
|
||||
|
||||
.. code-block:: clj
|
||||
|
||||
;; let `qux' be a variable with value (bar baz)
|
||||
`(foo ~qux)
|
||||
; equivalent to '(foo (bar baz))
|
||||
@ -751,6 +752,7 @@ be alternatively written using the (') symbol
|
||||
|
||||
|
||||
.. code-block:: clj
|
||||
|
||||
=> (setv x '(print "Hello World"))
|
||||
; variable x is set to expression & not evaluated
|
||||
=> x
|
||||
@ -758,6 +760,7 @@ be alternatively written using the (') symbol
|
||||
=> (eval x)
|
||||
Hello World
|
||||
|
||||
|
||||
require
|
||||
-------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user