Hacker News new | ask | show | jobs
by ReleaseCandidat 844 days ago
They are called variants in OCaml (and inductive data types in Roqc).

But way more important: this OCaml wiki is an AI generated mess full of, well, bullshit. https://discuss.ocaml.org/t/whats-up-with-ocamlwiki/13605

1 comments

Ah, I see. That's sad :(

... and now that you mention it, I do remember the variants terminology, esp. around the polymorphic variants feature. It's been 20+ years since I used OCaml, I'm afraid...