On Wed, 14 Mar 2007, Mattias W wrote: > Yes, especially where functions and types are is used. > > It is in areas like this modern ide like Visual Studio with Resharper > really shines. > > When I program Ocaml, I use emacs and M-x grep or tags-search for > finding references to a function. Not really good enough. > > For types, we could use .annot files, so greping in the .annot files > will show where a specific type is used. > > However, functions are not included in the .annot files (or I am > incorrect?).
No, it's only locations of expressions, with their type as inferred at that point in the file. I was thinking that the compiler is the one who knows best where things are defined, so it could dump a file that contains such information just like for the type of expressions with -dtypes. And this info could be integrated into the ocaml emacs modes and caml2html (pretty much like I did with .annot files for caml2html: http://martin.jambon.free.fr/caml2html_test.html) Martin -- Martin Jambon http://martin.jambon.free.fr --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ocaml-developer" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ocaml-developer?hl=en For other OCaml forums, see http://caml.inria.fr/resources/forums.en.html -~----------~----~----~----~------~----~------~--~---
