Skip to content

clojure.core/repeat

View this page on ClojureDocs

Type: function Added: Clojure 1.0 Examples: 2 Runnable: 2
([x] [n x])

Returns a lazy (infinite!, or length n if supplied) sequence of xs.

Examples

by gstamp on
by reborg on

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.