From 0d2736d22ced1f9bf566192f8604f869e0f5c6b9 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Wed, 5 May 2021 20:57:29 +0200 Subject: ... --- content/fate_v1/instructions/collections/_index.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'content/fate_v1/instructions/collections') diff --git a/content/fate_v1/instructions/collections/_index.md b/content/fate_v1/instructions/collections/_index.md index 5ecd3a0..fb557c2 100644 --- a/content/fate_v1/instructions/collections/_index.md +++ b/content/fate_v1/instructions/collections/_index.md @@ -29,27 +29,27 @@ Adds all the elements of `[COLLECTION]` to `[COLLECTION VAR]`. If list. ### EMPTYING COLLECTIONS -{{< fatecode >}}(clear [COLLECTION]){{< /fatecode >}} +{{< fatecode >}}(clear! [COLLECTION]){{< /fatecode >}} Removes all members of `[COLLECTION]`. ### REMOVING MEMBER -{{< fatecode >}}(remove [COMPUTATION] [COLLECTION]){{< /fatecode >}} +{{< fatecode >}}(remove! [COMPUTATION] [COLLECTION]){{< /fatecode >}} Removes the first member of `[COLLECTION]` equal to `[COMPUTATION]`. ### REMOVING MEMBERS -{{< fatecode >}}(remove_all [COMPUTATION] [COLLECTION]){{< /fatecode >}} +{{< fatecode >}}(remove_all! [COMPUTATION] [COLLECTION]){{< /fatecode >}} Removes all instances of `[COMPUTATION]` from `[COLLECTION]`. ### REMOVING AT INDEX -{{< fatecode >}}(remove_at [INT] [COLLECTION]){{< /fatecode >}} +{{< fatecode >}}(remove_at! [INT] [COLLECTION]){{< /fatecode >}} Removes the element of `[COLLECTION]` at `[INT]`. ### REVERSING LISTS -{{< fatecode >}}(reverse [LIST]){{< /fatecode >}} +{{< fatecode >}}(reverse! [LIST]){{< /fatecode >}} Reverses the order of the members of `[LIST]`. -- cgit v1.2.3-70-g09d2