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/buffer.md | 74 ---------------------------------------------- 1 file changed, 74 deletions(-) delete mode 100644 docs/type_system/buffer.md (limited to 'docs/type_system/buffer.md') diff --git a/docs/type_system/buffer.md b/docs/type_system/buffer.md deleted file mode 100644 index d38dd88..0000000 --- a/docs/type_system/buffer.md +++ /dev/null @@ -1,74 +0,0 @@ -# Buffer - ---- - -An sequence of bytes with unknown size and a byte representation - -```text -Buffer[[TYPE | UTF8 | UTF16 | UTF32] TYPE] -``` - -## Type Body Object Definitions - -```c -typedef struct { - kpl_interface *interface; -} kpl_type_body_buffer; -``` - -# Alias - -```text -String `alias Buffer[[UTF8] Void] - -Array[Generic.T] `alias Buffer[[TYPE] Generic.T] -``` - -# Operators - -## Symbol Access - -## ``get` - -## ``set` - -## ``length` - -## ``push` - -## ``pop` - -## ``reverse` - -## ``join` - -## ``split` - -## ``array` - -```text -array : SIZE `array ([U64.index] index) -``` - -## ``map` - -## ``each` - -In place map - -## ``filter` - -## ``reduce` - -## Concatenate `,` - -# Iterating - -# Mutating - -# Strings - -```text -s : "asdf" -`log s String $ "asdf" -``` -- cgit v1.2.3