hy/eg/rpython/test.hy
Julien Danjou 27e74d43b1 Re-indent Hy code using hy-mode
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-28 16:31:31 +02:00

13 lines
163 B
Hy

;; hello, rHy!
(defn fib [n]
(if (<= n 2) n
(+ (fib (- n 1)) (fib (- n 2)))))
(defn main [argv]
(for [x [1 2 3 4 5 6 7 8]]
(print (fib x)))
0)