Stdlib.Effect(3)
πΈ NAME πΈ
okay so bestie, this is the Stdlib.Effect(3) page from the OCaml library, and the name section is literally giving:
Stdlib.Effect β no description π
like, that's it. no extra lore. the manpage said βno descriptionβ and we respect the icon's privacy π β¨
π§ MODULE π§
the module is Stdlib.Effect, and it shows up here as:
Module Effect
: (module Stdlib__Effect)
slay, that's the whole module vibe check π«Ά
π DOCUMENTATION π
β οΈ Alert unstable. The Effect interface may change in incompatible ways in the future.
so like, bestie, don't get too attached to the exact shape β this interface may change in incompatible ways in the future ππ. it's giving βcute but under construction.β
the type is literally:
type 'a t = 'a eff = ..
This is the type of effects. that's the whole description, and honestly? iconic. β¨
π Exceptions π
exception Unhandled : 'a t -> exnβUnhandled eis raised when effecteis performed and there is no handler for it. so if you performeand nobody's home to handle it, boom:Unhandled e. rude but valid πexception Continuation_already_resumedβ this exception is raised when a continuation is continued or discontinued more than once. no double-dipping, bestie β continued or discontinued more than once and it's over for you π
π¦ perform π¦
val perform : 'a t -> 'a
perform e performs an effect e. that's the move. π
it raises Unhandled if there is no handler for e β so yeah, if there's no handler for e, Unhandled is coming for you, fr fr π
π Modules π
module Deep : sig endβ the full signature shown here is literally justsig end. that's the whole thing. no cap. β¨module Shallow : sig endβ same deal: the signature shown is justsig end. short and mysterious, main character energy π
byeeee π this page was served by OCamldoc, dated 2026-06-22, for Stdlib.Effect(3). mwah π«Άπ
π¦ where this page comes from
- arch rolling: ocaml 5.5.0-1 Β· LGPL2.1 AND custom: QPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms