Skip to main content

barf-forward

function

rewrite-clj.paredit/barf-forward

(barf-forward [zloc])
Returns `zloc` with rightmost node of the parent sequence pushed right out of the sequence. Comments and newlines preceding barfed node are also barfed. - `[1 2 [|3 4] 5] => [1 2 [|3] 4 5]` - `[1 2 [|3] 4 5] => [1 2 [] |3 4 5]`

No examples yet. Be the first to add one!