• (s-seq form)
Convertns a form into a sequence.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source net/licenser/sandbox/tester.clj:6 top

(defn s-seq 
  "Convertns a form into a sequence."
  [form]
  (tree-seq #(and (coll? %) (not (empty? %))) 
      #(let [a (macroexpand %)] 
         (or (and (coll? a) 
      (seq a)) 
       (list a))) 
      form))
Vars in net.licenser.sandbox.tester/s-seq: and coll? defn empty? let list not or seq tree-seq
Used in 0 other vars

Comments top

No comments for s-seq. Log in to add a comment.