Loop structures: Difference between revisions

Content added Content deleted
Line 88: Line 88:
'''NOT COVERED IN LOOP PAGES'''
'''NOT COVERED IN LOOP PAGES'''
===loop===
===loop===
<lang clojure>
;; loop/recur is the most general looping construct
;; loop/recur is the most general looping construct
(loop [lst [1 3 5 7]
(loop [lst [1 3 5 7]
Line 95: Line 96:
ret))
ret))
==> [1 9 25 49]
==> [1 9 25 49]
</lang>


=={{header|Dao}}==
=={{header|Dao}}==