Eff (programming language)
Eff is a general-purpose, high-level, multi-paradigm, functional programming language similar in syntax to OCaml which integrates the functions of algebraic effect handlers.
Example
effect Get_next : option
effect Add_to_queue : -> unit
let queue initial = handler
| effect Get_next k ->
| hd::tl -> tl )
| effect k -> ) )
| x ->
| finally x -> x initial
;;