Skip to content

remove whitespace after dispatch char? #198

@oakmac

Description

@oakmac

From this comment on PR-195, should Standard Clojure Style remove whitespace after the dispatch character # for certain forms?

Some examples:

## NaN
##NaN

#:user {:a 1}
#:user{:a 1}

#::u {:a 1}
#::u{:a 1}

#:: {:a 1}
#::{:a 1}

#inst "2014-05-19T19:12:37.925-00:00"
#inst"2014-05-19T19:12:37.925-00:00"

#js {:onClick (fn [e] (js/console.log e))}
#js{:onClick (fn [e] (js/console.log e))}

#? (:clj true :cljs false}
#?(:clj true :cljs false}

#?@ (:clj [:a :b :c])
#?@(:clj [:a :b :c])

#= (* 2 3)
#=(* 2 3)

cc @yuhan0 - thank you for this suggestion and the examples!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions