package ocaml-base-compiler

  1. Overview
  2. Docs
Official release 5.0.0

Install

Dune Dependency

Authors

Maintainers

Sources

5.0.0.tar.gz
sha256=72fa3d0ba19b82fcb9e6c62e0090b9d22e5905c4be0f94faf56904a9377a9e5b

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.