From bb912b081ed339e4a5419bd3d2ffd7465f2f72d3 Mon Sep 17 00:00:00 2001 From: nodist Date: Mon, 27 Jul 2026 17:17:56 -0400 Subject: bottom up redesign --- docs/type_system/overload.md | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 docs/type_system/overload.md (limited to 'docs/type_system/overload.md') 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 -``` -- cgit v1.2.3