blob: 8fec210a96ce958d9f76dcad91112194ff45a4d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Overload
---
List of complete functions, selected by signature
```text
Overload[FN; ...]
```
## Example
```text
add : Overload[Fn[.native; I64; Tuple[I64.x; I64.y]; ...]; Fn[.native; F64; Tuple[F64.x; F64.y]; ...]; ...]
`log add `call_native (1; 2) // Valid calls first
`log add `call_native (1.1; 2.2) // Valid calls second
`log add `call_native (1; 2.2) // Invalid no signature match
```
|