diff options
author | ubq323 <ubq323@ubq323.website> | 2024-08-17 21:29:40 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-08-17 21:29:52 +0100 |
commit | faba0abf74dcdab3a4957bd8f13afa3c4dd19950 (patch) | |
tree | 5dc4f0110ffe204e83fc9db94f52d0803416d25a /tests/delete.bth | |
parent | fc5fb73c08d563ae441f785276f1304da7538fea (diff) |
add delete! and objarr_delete
Diffstat (limited to 'tests/delete.bth')
-rw-r--r-- | tests/delete.bth | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/delete.bth b/tests/delete.bth new file mode 100644 index 0000000..58063a3 --- /dev/null +++ b/tests/delete.bth @@ -0,0 +1,16 @@ +(let (a [10 20 30 40 50]) + (delete! a 0) + (say a)) + +(let (a [10 20 30 40 50]) + (delete! a 3) + (say a)) + +(let (a [10 20 30 40 50]) + (delete! a 4) + (say a)) + +(let (a [10 20 30 40 50]) + (delete! a 5) + (say a)) + |