2020-05-15 13:41:26 +03:00
|
|
|
---
|
|
|
|
layout: developer-doc
|
|
|
|
title: Dispatch
|
|
|
|
category: semantics
|
|
|
|
tags: [semantics, dispatch, runtime]
|
|
|
|
order: 3
|
|
|
|
---
|
|
|
|
|
|
|
|
# Dispatch
|
2020-07-21 15:59:40 +03:00
|
|
|
|
2020-05-15 13:41:26 +03:00
|
|
|
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" -->
|
|
|
|
|
|
|
|
- [Static Dispatch](#static-dispatch)
|
|
|
|
- [Dynamic Dispatch](#dynamic-dispatch)
|
|
|
|
|
|
|
|
<!-- /MarkdownTOC -->
|
|
|
|
|
|
|
|
## Static Dispatch
|
|
|
|
|
|
|
|
> The actionables for this section are:
|
2020-07-21 15:59:40 +03:00
|
|
|
>
|
2020-05-15 13:41:26 +03:00
|
|
|
> - Specify the semantics of static dispatch in Enso.
|
|
|
|
|
|
|
|
## Dynamic Dispatch
|
|
|
|
|
|
|
|
> The actionables for this section are:
|
2020-07-21 15:59:40 +03:00
|
|
|
>
|
2020-05-15 13:41:26 +03:00
|
|
|
> - Specify the semantics of dynamic dispatch in Enso.
|