Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Newlines not respected inside of binding vectors #118

@kkinnear

Description

@kkinnear

If you use {:style :respect-nl}, newlines are respected (that is, they are not removed) everywhere except in binding vectors. Thus:

$ (czprint "(let [a\nb\nc d] e)" {:parse-string? true :style :respect-nl})
(let [a b
      c d]
  e)

; which is not correct.  It should do this:

$ (czprint "(let [a\nb\nc d] e)" {:parse-string? true :style :respect-nl})
(let [a
        b
      c d]
  e)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions