Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Clojure Programming/Examples/API Examples/Sequence Operators

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

interpose user=> (apply str (interpose "|" ["hi" "mum" "and" "dad"])) "hi|mum|and|dad" interleave user=> (interleave [1 2 3] [:a :b :c]) (1 :a 2 :b 3 :c) reverse user=> (apply str (interpose " " (reverse (.split "I am cold" " ")))) "cold am I" butlast user=> (butlast "hello") (\h \e \l \l) replace (apply str (replace {\l ""} "hello world")) => "heo word"