This OCaml Unboxed episode describes regions and the hidden regional mode in OCaml's local types, as developed by Jane Street. It turns out that local parameters aren't really local: they're regional! This explains how some impossible-looking programs actually work.
View instructions to get the compiler I use in this video: github.com/janestreet/opam-re...
Full documentation of locals:
github.com/ocaml-flambda/flam...
Негізгі бет Ғылым және технология Regions with OCaml's Local Types | OCaml Unboxed
Пікірлер: 1