DaoWen
DaoWen

Reputation: 33029

When did the metadata reader syntax change from #^ to ^?

Currently (Clojure v1.6) you can give a type hint two ways:

^floats xs
#^floats xs

According to Clojure ^floats vs. #^floats?, the latter is legacy syntax, and the former is the current preferred form.

When did that change happen?

Upvotes: 6

Views: 106

Answers (1)

DaoWen
DaoWen

Reputation: 33029

A brief history of the ^ macro character

Upvotes: 11

Related Questions