context-lines

circumspec.report.nested

  • (context-lines last-result this-result)
Return the context-lines for a result. Contexts nest, and appear before
the name line.

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 circumspec/report/nested.clj:32 top

(defn context-lines
  "Return the context-lines for a result. Contexts nest, and appear before
   the name line."
  [last-result this-result]
  (->> (map vector
        (iterate inc 0)
        (concat (result-context last-result) (repeat nil))
        (concat (result-context this-result)))
       (drop-while descriptions-match)
       (map add-indentation)))
Vars in circumspec.report.nested/context-lines: ->> concat defn drop-while inc iterate map repeat vector
Used in 0 other vars

Comments top

No comments for context-lines. Log in to add a comment.