From 5bea21e81ed516440e34e480f2c33ca41aa8c597 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 Feb 2017 00:05:36 -0800 Subject: Import Upstream version 3a4 --- subarray.txi | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'subarray.txi') diff --git a/subarray.txi b/subarray.txi index 1a0545f..17e5a48 100644 --- a/subarray.txi +++ b/subarray.txi @@ -33,14 +33,18 @@ shared. #2A((a b) (d e)) > (subarray ra #f '(1 2)) #2A((b c) (e f)) +> (subarray ra #f '(2 1)) +#2A((c b) (f e)) @end example -@end defun +Arrays can be reflected (reversed) using @code{subarray}: -@defvar subarray0 +@example +> (subarray '#1A(a b c d e) '(4 0)) +#1A(e d c b a) +@end example +@end defun -Legacy alias for @r{subarray}. -@end defvar @defun array-trim array trim @dots{} -- cgit v1.2.3