diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-06 15:11:26 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-06 15:11:26 -0400 |
| commit | fb216e955f04a803f11953be27e76bd4d2c9e76d (patch) | |
| tree | de2c471c5416ec2ee490bdb33f5e3e202d94675a /man/man3/tomo-Table.remove.3 | |
| parent | 73246764f88f6f652316ee0c138a990d836698a7 (diff) | |
Use colons instead of '=' for tables (e.g. {1: 2})
Diffstat (limited to 'man/man3/tomo-Table.remove.3')
| -rw-r--r-- | man/man3/tomo-Table.remove.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/man/man3/tomo-Table.remove.3 b/man/man3/tomo-Table.remove.3 index 5fbb31d7..8d96fb88 100644 --- a/man/man3/tomo-Table.remove.3 +++ b/man/man3/tomo-Table.remove.3 @@ -2,14 +2,14 @@ .\" Copyright (c) 2025 Bruce Hill .\" All rights reserved. .\" -.TH Table.remove 3 2025-05-17 "Tomo man-pages" +.TH Table.remove 3 2025-09-06 "Tomo man-pages" .SH NAME Table.remove \- remove a table entry .SH LIBRARY Tomo Standard Library .SH SYNOPSIS .nf -.BI Table.remove\ :\ func(t:\ {K=V},\ key:\ K\ ->\ Void) +.BI Table.remove\ :\ func(t:\ {K:V},\ key:\ K\ ->\ Void) .fi .SH DESCRIPTION Removes the key-value pair associated with a specified key. @@ -22,7 +22,7 @@ allbox; lb lb lbx lb l l l l. Name Type Description Default -t {K=V} The reference to the table. - +t {K:V} The reference to the table. - key K The key of the key-value pair to remove. - .TE .SH RETURN @@ -30,8 +30,8 @@ Nothing. .SH EXAMPLES .EX -t := {"A"=1, "B"=2} +t := {"A": 1, "B": 2} t.remove("A") >> t -= {"B"=2} += {"B": 2} .EE |
