I saw the word in the Dune style guide:
Introduce bindings that will allow opportunities for record or label punning.
What does it mean? Is it the same as destructuring?
I saw the word in the Dune style guide:
Introduce bindings that will allow opportunities for record or label punning.
What does it mean? Is it the same as destructuring?
Found the answer from realworldocaml.
I tried to locate the point in the ocaml manual where this term is explained. Unfortunately the online manual here: OCaml - The OCaml Manual does not contain a full text search function so I was unable to find it. I remember it’s in the manual, though.
At least in 4.14 it’s only mentioned in the context of let-punning:
https://v2.ocaml.org/releases/4.14/ocaml-4.14-refman.txt