From 289de840fd99b6f0db0bf5de3d9c261f0c3dfbe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Pospi=CC=81s=CC=8Cil?= Date: Sun, 28 Jun 2020 20:49:44 +0200 Subject: [PATCH] Specify input types actions --- src/boot/boot.janet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boot/boot.janet b/src/boot/boot.janet index 48bb9234..7e284184 100644 --- a/src/boot/boot.janet +++ b/src/boot/boot.janet @@ -1198,7 +1198,7 @@ res) (defn reverse - "Reverses the order of the elements in a given array or tuple and returns it + "Reverses the order of the elements in a given array or buffer and returns it mutated." [t] (def len-1 (- (length t) 1)) @@ -1213,7 +1213,7 @@ (defn reversed "Reverses the order of the elements in a given array or tuple and returns - a new array." + a new array. If string or buffer is provided function returns array of chars reversed." [t] (def len (length t)) (var n (- len 1))