Remix.run Logo
IshKebab 8 months ago

> Use the LSP integration of your editor which will show you where the error is as you type, so you catch the problem early

Yeah I do have this set up and it's a very good LSP, but unfortunately frequently if you get the nesting wrong the error is like "the entire rest of the file is wrong". It's often not very helpful.

That's not unique to OCaml. C style syntaxes can give "everything after this point is an error" if you get brackets wrong, but it's much easier to figure out what you did wrong.