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! 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