Even more lisp sections marked as lispy highlighted code blocks

This commit is contained in:
Christopher Allan Webber 2013-04-01 15:06:19 -05:00
parent ccb75e62aa
commit 0c4ae39bc0

View File

@ -278,7 +278,9 @@ You can see that we used "do" to wrap multiple statments. If you're
familiar with other lisps, this is the equivalent of "progn" familiar with other lisps, this is the equivalent of "progn"
elsewhere. elsewhere.
Comments start with semicolons:: Comments start with semicolons:
.. code-block:: clj
(print "this will run") (print "this will run")
; (print "but this will not") ; (print "but this will not")
@ -290,7 +292,9 @@ we might do::
for i in range(10): for i in range(10):
print "'i' is now at " + str(i) print "'i' is now at " + str(i)
The equivalent in hy would be:: The equivalent in hy would be:
.. code-block:: clj
(for (i (range 10)) (for (i (range 10))
(print (+ "'i' is now at " (str i)))) (print (+ "'i' is now at " (str i))))