package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 5.1.0

Install

Dune Dependency

Authors

Maintainers

Sources

5.1.0.tar.gz
sha256=43a3ac7aab7f8880f2bb6221317be55319b356e517622fdc28359fe943e6a450

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.