package ocaml-solo5

  1. Overview
  2. Docs
OCaml cross-compiler to the freestanding Solo5 backend

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.3.3.tar.gz
md5=47876167068345542f49279e8fd28896
sha512=272081ec51a6ed69c08e4e8fa64fee3df53fd84c66c0c07a653891c88b342cf74553e1c95711e4fbc18922c899a3448a649f3bd9858f8d89cae834ad2b67fffb

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 'a t = 'a eff = ..

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