Merge pull request #89 from cbbrowne/master
Tweak to make the Quickstart ref better
This commit is contained in:
commit
efb8addc6f
@ -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!
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user