Back to Enso

Dispatch

docs/semantics/dispatch.md

2025.3.4577 B
Original Source

Dispatch

Enso has support for functions that are both statically and dynamically dispatched. We call the first ones functions, while the latter are referred to as methods.

<!-- MarkdownTOC levels="2,3" autolink="true" --> <!-- /MarkdownTOC -->

Static Dispatch

The actionables for this section are:

  • Specify the semantics of static dispatch in Enso.

Dynamic Dispatch

There is a decicated page discussing dynamic dispatch and its semantics.