MLStyle.jl icon indicating copy to clipboard operation
MLStyle.jl copied to clipboard

Unable to document `@data`

Open ParadaCarleton opened this issue 2 years ago • 1 comments

As in the title, it's not currently possible to document Structs created using the @data macro; adding a docstring above them results in an error. (You can attach the docstring further down, but that makes the code a bit harder to read.)

Relatedly, the current naming of ADTs as x's constructor makes it a bit harder to document them. Could you explain what's going on with them?

ParadaCarleton avatar May 12 '23 17:05 ParadaCarleton