chasse
chasse

Reputation: 225

Does clojure allow line continuations? If so, how?

Many languages allow for line continuations, e.g. in VB with the underscore at the end of a line, or in Tcl with a backslash at the end of a line.

Does Clojure have a way to allow for line continuations?

Thanks, chasse

Upvotes: 4

Views: 146

Answers (1)

asthasr
asthasr

Reputation: 9397

Clojure does not need "line continuations." It is delimited by parentheses. Just don't close your parentheses, and your current statement will continue.

Upvotes: 10

Related Questions