In OCaml, what type definition is this: ‘a. unit -> ‘a
‘a. means “for all types ‘a”. The OCaml top-level usually doesn’t bother showing it, which is why it doesn’t appear in the output. Any expression printed that contains type variables has an implicit forall at the start unless shown elsewhere. When defining a function, it can be useful to add this at the start to … Read more