From: Brian H. <bh...@sp...> - 2003-04-20 22:22:59
|
So you get an error from ocamlc like (names changed to protect the guilty): File "foo.ml", line 127, characters 22-26: This expression has type int but is here used with type int -> 'a Normally, in vim you can go 127G22| and bounce directly to what it's having a typing problem with. Unfortunately, ocamlc counts tabs as single characters, vim counts tabs as however many charaters a tabstop is. So you bounce to the incorrect place in the line. This can have you run down a blind alley thinking that variable bar was the problem, when it was actually variable baz. Spaces do not get misinterpreted like that. Brian |