![]() This includes installation via homebrew and MacPorts, but I had seemingly random, trivial bugs that caused most of these methods to fail for me. If you’re lucky, one of the methods listed on the OPAM site may work for you. ![]() OPAM, as it sounds, is a fantastic OCaml package manager, which can be acquired as follows: With that in mind, you’ll want to get the OCaml source code as part of the OCaml Package Manager (OPAM) download. If you’re doing any significant development (i.e., large-scale projects), you will eventually need external packages. Follow the instructions for installation, and you're done-super simple, and fast.If you’re just doing low-key development, download the source code as follows: To start, there are a few ways to get the actual source code for the OCaml language. In this post, I’ll provide a couple of choices for setting up such an environment when developing on a Mac. And as a result, there aren’t very many good write-ups out there for setting up an OCaml development environment. So in total, I’ve spent a reasonable amount of time around the language, and I think it’s fantastic: it’s got a great module system, plenty of useful open source tools, etc.īut OCaml isn’t that widely used. I also spent the past spring using OCaml for my CS Independent Work. Throughout the course, we did all of our programing in OCaml. Last fall, I began exploring the subject of functional programming as part of Professor David Walker’s COS 326 at Princeton.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |