stedolan / malfunction

Malfunctional Programming
Other
338 stars 19 forks source link

Support for OCaml > 4.09? #27

Closed anton-trunov closed 3 years ago

anton-trunov commented 3 years ago

Are there any plans to support the recent versions of OCaml? If not, could you please estimate how hard it could be to upgrade Malfunction? (given the lack of previous experience with OCaml compiler hacking).

stedolan commented 3 years ago

Yep, definitely planning to support recent versions. At this point, I'll probably wait until the (imminent) release of 4.12 and then do 4.10-4.12 together.

Supporting a new version is generally not much code (e.g. here's the 4.09 patch), but it does require some familiarity with the OCaml compiler's layout.

anton-trunov commented 3 years ago

Awesome! Thanks for sharing your plans. And indeed the size of the 4.09 patch looks very reasonable. Looking forward to the upgrade.

stedolan commented 3 years ago

4.10 / 4.11 / 4.12 work now.

anton-trunov commented 3 years ago

Thanks so much! Could you tag it as a new release, please? I can then give you a hand with a PR to opam-repository if you don't mind.