-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Labels
forwarded-to-js-devsThis report has been forwarded to Jane Street's internal review system.This report has been forwarded to Jane Street's internal review system.
Description
It may be the case for non-expert users to search for a type to check whether some standard function exist,
e.g. I searched 'a -> 'a -> 'a in the List module to check how many variants of List.reduce and pick one.
However, the current generated HTML doesn't support a naive search of type string like 'a -> 'a -> 'a. The reason is there are some <span> in it to prevent web browser in page search to find it easilly.
<span>(<span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span> <span>-></span> <span class="type-var">'a</span>)</span>I can search 'a -> 'a -> 'a in the source code.
I suggest removing some spans in the output to make it friendly to naive in-page search.
Metadata
Metadata
Assignees
Labels
forwarded-to-js-devsThis report has been forwarded to Jane Street's internal review system.This report has been forwarded to Jane Street's internal review system.