Switch over to a more lisp'y syntax for the "for" statment docs
This commit is contained in:
parent
93583b56a4
commit
df6ef654d7
@ -266,7 +266,7 @@ we might do::
|
|||||||
|
|
||||||
The equivalent in hy would be::
|
The equivalent in hy would be::
|
||||||
|
|
||||||
(for [i (range 10)]
|
(for (i (range 10))
|
||||||
(print (+ "'i' is now at " (str i))))
|
(print (+ "'i' is now at " (str i))))
|
||||||
|
|
||||||
TODO: explain the extra power of hy's for, the list comprehensions
|
TODO: explain the extra power of hy's for, the list comprehensions
|
||||||
|
Loading…
Reference in New Issue
Block a user