From df6ef654d75387451e8ac4b3f34e3681980ed8f2 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Mon, 1 Apr 2013 11:01:36 -0500 Subject: [PATCH] Switch over to a more lisp'y syntax for the "for" statment docs --- docs/language/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/language/index.rst b/docs/language/index.rst index 31832c9..d02fc61 100644 --- a/docs/language/index.rst +++ b/docs/language/index.rst @@ -266,7 +266,7 @@ we might do:: The equivalent in hy would be:: - (for [i (range 10)] + (for (i (range 10)) (print (+ "'i' is now at " (str i)))) TODO: explain the extra power of hy's for, the list comprehensions