4 ms·
Which 'official OCaml tutorial'? The only one I can find is the 'Up and Running' one that someone else posted, and that uses the modern toolchain with opam and
by yawaramin 5y ago
Which 'official OCaml tutorial'? The only one I can find is the 'Up and Running' one that someone else posted, and that uses the modern toolchain with opam and dune which would prevent you from running into the error described in the 2014 comment.
- ttymck 5y agoI guess I skipped "up and running" and opted for "a first hour with ocaml" [1] In my defense, [1] makes no reference to dune, which I am excited to try out. [1] https://ocaml.org/learn/tutorials/a_first_hour_with_ocaml.html https://ocaml.org/learn/tutorials/a_first_hour_with_ocaml.ht...
- yawaramin 5y ago'A first hour with OCaml' says, at the beginning: > You may follow along with this tutorial with just a basic OCaml installation, as described in Up and Running. So, you can't really skip 'Up and Running'. And, the Graphics module usage is in the section 'A module from OPAM', which explicitly talks about installing the package and then loading it in the REPL ('top level').