reverse -- r7rs Definition procedure;
Procedure variants:
((null) -> (null))
((list-proper-not-null) -> (list-proper-not-null))
list-proper-not-null;list-proper-not-null;scheme:base -- (scheme base);scheme -- (scheme);(reverse list)Returns a newly allocated list consisting of the elements of
listin reverse order.(reverse '(a b c)) ===> (c b a) (reverse '(a (b c) d (e (f)))) ===> ((e (f)) d (b c) a)
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.