Skip to main content

insert-left

function

rewrite-clj.zip/insert-left

(insert-left [zloc item])
Return zipper with `item` inserted to the left of the current node in `zloc`, without moving location. If `item` is not already a node, an attempt will be made to coerce it to one. Will insert spaces around `item` if necessary. There is no consideration on whitespaceness of `item` itself. Use [[insert-left*]] to insert without adding any whitespace.

No examples yet. Be the first to add one!