[HN Gopher] Learn OCaml - Exercises
___________________________________________________________________
Learn OCaml - Exercises
Author : smartmic
Score : 31 points
Date : 2025-06-27 20:36 UTC (2 hours ago)
(HTM) web link (ocaml-sf.org)
(TXT) w3m dump (ocaml-sf.org)
| b0a04gl wrote:
| picked up ocaml back when prepping for some interview round,
| didn't expect much just wanted the functional knowledge. but
| later used it for advent of code and it just worked so clean.
| pattern matching, recursion, immutabilitty.. fits those problems
| naturally. ended up liking the language way more than planned.
| hyper57 wrote:
| Loved using OCaml for a compiler course at uni when I was a
| student. But I've always felt that the tooling side is pretty
| rough, especially on Windows. Opam recently added Windows
| support, but it involves installing MinGW, and when following the
| official docs https://ocaml.org/docs/installing-ocaml#install-
| platform-too... the process breaks down with an error when trying
| to install utop due to a path separator error, which one has to
| fix manually (at least that was the case last time I tried). By
| comparison, installing Python or Rust on Windows is a breeze.
| lor_louis wrote:
| Even in Linux, I'd say the tooling is a bit rough, dune and the
| new lsp are going in the right direction though.
___________________________________________________________________
(page generated 2025-06-27 23:00 UTC)