art-w / sherlodoc

Fuzzy type search for OCaml documentation
MIT License
70 stars 6 forks source link

Separate search in name and docstrings #24

Open panglesd opened 7 months ago

panglesd commented 7 months ago

It would be very nice to have a way to separate the query for names and docstrings. This would also allow to have a cost function that is specific to names (especially wrt #23)

Proposed syntax:

concat : 'a list list -> 'a list (** concatenate linear time *)

which is a little verbose, but I think feels familiar to an OCaml programmer!