Skip to content

Update the effect handlers manual page to use syntax #13158

@kayceesrk

Description

@kayceesrk

#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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions