Quoting works

Hy seems to support quoting. I'm not familiar enough with lisp/hy to say much more
This commit is contained in:
Brendan Curran-Johnson 2014-03-12 21:20:58 -05:00 committed by Berker Peksag
parent a11f92da37
commit ec4607d644
1 changed files with 4 additions and 5 deletions

View File

@ -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::