OCamlPro / ocp-index

Easy access to the interface information of installed OCaml libraries for editors like Emacs and Vim.
http://www.typerex.org/ocp-index.html
Other
62 stars 25 forks source link

ocp-browser prints numeric suffix on types #159

Closed copy closed 1 year ago

copy commented 2 years ago

E.g.:

┌Press alt+h for help────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── kinds: t, v, e, c, m, s, k ┐
│List.                                                                                                                                                                                             │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
-> type List.t 'a list/1                                                                                                                                                                            
    An alias for the type of lists.                                                                                                                                                                 
   constr(t) List.[] -                                                                                                                                                                              
   constr(t) List.:: 'a * 'a list/1                                                                                                                                                                 
   val List.length 'a list/1 -> int/1                                                                                                                                                               
   val List.cons 'a -> 'a list/1 -> 'a list/1

ocp-index doesn't seem to have this problem.

copy commented 1 year ago

I believe this has been fixed.