3 ms·
Thanks for the examples of record types in OCaml. > but as far as I know, such proposals haven't been met with much enthusiasm. Well, if the proposed use case
by epidemian 13y ago
Thanks for the examples of record types in OCaml.
> but as far as I know, such proposals haven't been met with much enthusiasm.
Well, if the proposed use cases are similar to this http Go library, then i think i can see why that's the case. As just adding a close: () method to a type could mean that code that uses that type now behaves differently.