<br>Clojure uses its metadata (attached to values, though, not declaration) to put documentation strings there.<div><br></div><div>That's quite doable with D:</div><div><br></div><div>@(doc("This function does.... ")) </div>
<div>auto foo() </div><div>{ ... }</div><div><br></div><div>I'm also interested in tagging data:</div><div><br></div><div>@(Sorted!(withThisFun)) someRange ...</div><div>@(Ranged(0.0, 1.0)) someRange ...</div><div><br>
</div><div>or:</div><div><br></div><div>@Validated SQLQuery query;</div><div><br></div><div><br></div>