From 1c14a69fc98c354f75e0797c3bc9e93f065c5f1b Mon Sep 17 00:00:00 2001 From: Christopher Browne Date: Mon, 8 Apr 2013 17:01:12 -0400 Subject: [PATCH 1/2] example was missing function parameter name --- docs/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index c494c39..78a84ef 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -13,7 +13,7 @@ HOW TO GET HY REAL FAST: => (print "Hy!") Hy! - => (defn salutationsnm [] (print (+ "Hy " name "!"))) + => (defn salutationsnm [name] (print (+ "Hy " name "!"))) => (salutationsnm "YourName") Hy YourName! From 4ce308193376a142f09fbc58d9546ac8ea54103f Mon Sep 17 00:00:00 2001 From: Christopher Browne Date: Mon, 8 Apr 2013 17:09:00 -0400 Subject: [PATCH 2/2] Typo in tutorial --- docs/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial.rst b/docs/tutorial.rst index f10002f..584652f 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -339,7 +339,7 @@ In hy, you could do these like: (list-comp (pow num 2) (num (range 100)) - (= (% num 2) 1)) + (= (% num 2) 1))) .. code-block:: clj