Re:What I wish I knew when learning OCaml (2018)
by poorlydefined on Tuesday May 03, 2022 @07:31AM
(#31247033)
Yeah if you did this now you’d get something like “this expression is of type t/1 but an expression of type t/2” to disambiguate.
[ Parent
| on HN ]
Re:What I wish I knew when learning OCaml (2018)
by kragen on Tuesday May 03, 2022 @07:36AM
(#31247062)
The fact that this problem took 25 years to fix is maybe the more damning thing. It wasn't a bug, exactly; it was a usability problem. Clearer demonstrations of development priorities could hardly be given.
Re:What I wish I knew when learning OCaml (2018)
by octachron on Tuesday May 03, 2022 @09:58AM
(#31248383)
That was mostly a man-power issue. The good news is that nowadays such nonsensical error messages are near the top of my personal development priority for OCaml.
Re:What I wish I knew when learning OCaml (2018)
by kragen on Tuesday May 03, 2022 @10:08AM
(#31248483)
During those 25 years OCaml gained native-code compilers for new architectures, labeled arguments, and polymorphic variants, among other things. How could it be mostly a manpower issue?
Re:What I wish I knew when learning OCaml (2018)
by octachron on Tuesday May 03, 2022 @10:43AM
(#31248950)
Work and time contributed by open source collaborators on their free or academic time cannot be magically converted from one subsystem to another. It is honestly very easy to have progress on the aspects that spark interest while some subsystem are starved from attention when there are no full-time developers working on a project.
Re:What I wish I knew when learning OCaml (2018)
by kragen on Tuesday May 03, 2022 @12:17PM
(#31250101)
That's true, but that doesn't mean there was no manpower to fix that error message; it meant that fixing it wasn't a priority to the people who were working on OCaml at the time. You're just offering an explanation for why it wasn't a priority: fixing it didn't spark their interest.