summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--hy.html.markdown9
1 files changed, 3 insertions, 6 deletions
diff --git a/hy.html.markdown b/hy.html.markdown
index 5eddbf55..fc37d537 100644
--- a/hy.html.markdown
+++ b/hy.html.markdown
@@ -159,12 +159,9 @@ True ; => True
; nest multiple if else if clauses with cond
(cond
- [(= someval 42)
- (print "Life, universe and everything else!")]
- [(> someval 42)
- (print "val too large")]
- [(< someval 42)
- (print "val too small")])
+ (= someval 42) (print "Life, universe and everything else!")
+ (> someval 42) (print "val too large")
+ (< someval 42) (print "val too small"))
; group statements with do, these are executed sequentially
; forms like defn have an implicit do