I’m trying to transition toward Merlin to get type info from my editor (I was happily using ocaml-annot so far, but as non-binary annotations are going to disappear…)
The experience so far is disappointing: most of the time, MerlinTypeOf (which is the only function I really need) only shows type as 'a or 'a -> 'b, etc. unless I point it at an obvious constant in which case it will successfully print int or whatever.
On the same source files with the same annotation (just non-binnary), ocaml-annot is able to properly display the correct type.
I don’t know what’s in a .cmt file but a strings on it suggests that the types are actually present in there as in the .annot file.
Any idea how I could improve things?
I’d like not to maintain a .merlin file if that’s possible.