summaryrefslogtreecommitdiff
path: root/docs/type_system/overload.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/type_system/overload.md')
-rw-r--r--docs/type_system/overload.md27
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
-```