The problem is quite simple, i have a pretty messy ocaml code, with wrong indentation, break line ecc. is there any tool to format a ocaml code properly?
thanks!
The problem is quite simple, i have a pretty messy ocaml code, with wrong indentation, break line ecc. is there any tool to format a ocaml code properly?
thanks!
You can use ocp-indent either in you editor or as an external tool to indent your code. It should work on windows.
You could use Emacs with TypeRex extension. I don't use Emacs everyday, but use it to indent my code, it's a very good tool !