Skip to content

Style/Indentation differences #812

@NoahTheDuke

Description

@NoahTheDuke

Hey friends,

I've noticed that there's a fair amount of inconsistency across the various files of indentation. Some files indent are args with hang indent and some with flow indent. (Terms defined by zprint.) Not to mention that there's differences between spacing within the blocks (align each column or not, etc). Additionally, there's a fair amount of difference in how reader conditionals are indented. Is this something we want to normalize? Should we use an auto-formatter?

Hang:

(are [in ex] (= ex (abs in))
-1 1

Flow:

(are [expected set keys] (= expected (persistent! (apply disj! (transient set) keys)))
#{} #{} [nil]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions