Quoting works
Hy seems to support quoting. I'm not familiar enough with lisp/hy to say much more
This commit is contained in:
parent
a11f92da37
commit
ec4607d644
@ -199,14 +199,13 @@ Hy. Let's experiment with this in the hy interpreter::
|
||||
=> (, 1 2 3)
|
||||
(1, 2, 3)
|
||||
|
||||
(You may notice that at present, the common lisp method of quoting
|
||||
things like so:
|
||||
If you are familiar with other lisps, you may be interested that Hy
|
||||
supports the Common Lisp method of quoting:
|
||||
|
||||
.. code-block:: clj
|
||||
|
||||
'(1 2 3)
|
||||
|
||||
does not work. Instead, use square brackets as above.)
|
||||
=> '(1 2 3)
|
||||
(1L 2L 3L)
|
||||
|
||||
You also have access to all the builtin types' nice methods::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user