diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-07-27 17:17:56 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-07-27 17:17:56 -0400 |
| commit | bb912b081ed339e4a5419bd3d2ffd7465f2f72d3 (patch) | |
| tree | 7f34b3af1a72672de1d12c8e23dda419c398dce3 /docs/type_system/overload.md | |
| parent | 003119b9f285e5610f56186bce845441409265ae (diff) | |
bottom up redesign
Diffstat (limited to 'docs/type_system/overload.md')
| -rw-r--r-- | docs/type_system/overload.md | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/docs/type_system/overload.md b/docs/type_system/overload.md deleted file mode 100644 index 467d898..0000000 --- a/docs/type_system/overload.md +++ /dev/null @@ -1,27 +0,0 @@ -# Overload - ---- - -List of complete functions, selected by signature - -```text -Overload[[] Collection[VAR_LIST; Function[]]] -``` - -## Type Body Object Definitions - -```c -typedef struct { - kpl_type *var_list; -} kpl_type_body_overload; -``` - -## Example - -```text -add : Overload[Fn[I64; I64.x; I64.y]; Fn[F64; F64.x; F64.y]; ...] - -`log add `sync (1; 2) // Valid calls first -`log add `sync (1.1; 2.2) // Valid calls second -`log add `sync (1; 2.2) // Invalid no signature match -``` |
