#12309 has introduced syntax for deep handlers. The manual page (https://v2.ocaml.org/manual/effects.html) currently uses the Stdlib Effect module, not the syntax. The page has to be updated to use the syntax version.
The page should introduce the syntax version first for deep handlers. Towards the end of the section on deep handlers, one of the previously introduced examples can be used to show that the same program can be written using the Stdlib Effect module. This will be a good segue to introducing shallow handlers, which do not have syntax support.
#12309 has introduced syntax for deep handlers. The manual page (https://v2.ocaml.org/manual/effects.html) currently uses the Stdlib Effect module, not the syntax. The page has to be updated to use the syntax version.
The page should introduce the syntax version first for deep handlers. Towards the end of the section on deep handlers, one of the previously introduced examples can be used to show that the same program can be written using the Stdlib Effect module. This will be a good segue to introducing shallow handlers, which do not have syntax support.