OCaml Canvas

  • OCaml is like an HN darling, always go to the front page. Hopefully, OCaml 5.0 would drive more adoptions to the language.

  • In the strictly browser realm, there's also Brr: https://erratique.ch/software/brr/doc/Brr_canvas/index.html which is a recent reimagining of the traditional interface to browser APIs (provided by js_of_ocaml) in a much more idiomatic OCaml style.

    https://erratique.ch/software/brr/doc

  • Whats the best book/resource to learn OCaml for someone new to FP?

  • This looks to be a much improved version of what used to be provided by the now defunct `Graphics` module. Definitely have to try it out. `Graphics` was X11-only, but it was the only way to produce on-screen graphics directly in OCaml (i.e. without using a web browser or other image display app). Very nice to have something like that again.

  • So cool. Love to see high quality OCaml Libraries.