package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 5.1.1

Install

Dune Dependency

Authors

Maintainers

Sources

5.1.1.tar.gz
sha256=57f7b382b3d71198413ede405d95ef3506f1cdc480cda1dca1e26b37cb090e17

doc/stdlib/Stdlib/Effect/index.html

Module Stdlib.EffectSource

  • alert unstable The Effect interface may change in incompatible ways in the future.

Effects.

See 'Language extensions/Effect handlers' section in the manual.

  • since 5.0
  • alert unstable The Effect interface may change in incompatible ways in the future.
Sourcetype _ t = ..

The type of effects.

Sourceexception Unhandled : 'a t -> exn

Unhandled e is raised when effect e is performed and there is no handler for it.

Sourceexception Continuation_already_resumed

Exception raised when a continuation is continued or discontinued more than once.

Sourceval perform : 'a t -> 'a

perform e performs an effect e.

  • raises Unhandled

    if there is no handler for e.

Sourcemodule Deep : sig ... end

Deep handlers

Sourcemodule Shallow : sig ... end
OCaml

Innovation. Community. Security.