andreypopp.com Andrey Popp's personal website 1970-01-01T00:00:00Z Andrey Popp https://andreypopp.com/atom.xml Using function arguments polymorphically in OCaml https://andreypopp.com/w/2024-05-04-using-function-arguments-polymorphically-in-ocaml blog/2024-05-04T00:00:00Z There's a rarely used feature in OCaml called polymorphic record fields. Let's see when and why one might want to use it.