Quick #OCaml help needed here:
So I had the default opam switch using the systems installed ocaml version - 4.08 - on archlinux, and had a bunch of things installted like utop and merlin, etc. Since a few days ago the system was updated to 4.09, so I assume everything is kind broken in the switch because it was compiled for previous version.
opam switch reinstall or opam upgrade don't fix anything.
Any ideas for the newbie here?
Really weird that I can't find any info about this. I'd assume this would be kind the default basic way to use it for starters. Hitting such a thing this early is sad.
Trying upgrade --fixup it says to use "'opam list --base' and 'opam switch set-base'".
Let's try the later one, not sure what this does. But appears to want to recompile and move to the 4.09. So strange. No idea why it's removing merlin.
Creating a new switch "opam switch create ocaml-base-compiler" and using a combination of switch export, editing the export file to change the root and the installed ocaml there, importing to the new switch, seems to kinda be working.
Still this all sounds too troublesome and should be more straightforward.
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!