You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to refer to the constructors in the documentation. It could be doable if the full path is specified; there's even an anchor generated in the html code, which suggests a possible syntax:
(** {!type-switch.On} *)
Thanks!
The text was updated successfully, but these errors were encountered:
This is not a parser problem but a missing feature in the reference resolver. Speaking of parser, there's room already in the syntax for the `: {!t."`Foo"}.
This might be useful to disambiguate between a regular and a polymorphic constructor (as an alternative to a prefix like {!t.poly-Foo}).
We already have code to handle ambiguous references, so it might be possible to handle cases like {!"`Foo"}, which could mean "The constructor `Foo in any type declaration in scope.".
Considering a polymorphic variant type:
I'd like to be able to refer to the constructors in the documentation. It could be doable if the full path is specified; there's even an anchor generated in the html code, which suggests a possible syntax:
(** {!type-switch.On} *)
Thanks!
The text was updated successfully, but these errors were encountered: