#23
Reverse a Sequence
 

Difficulty:Easy
Topics:seqs core-functions


Write a function which reverses a sequence.
test not run
(= (__ [1 2 3 4 5]) [5 4 3 2 1])
test not run
(= (__ (sorted-set 5 7 2 7)) '(7 5 2))
test not run
(= (__ [[1 2][3 4][5 6]]) [[5 6][3 4][1 2]])
Special Restrictions
  • reverse


  • Code which fills in the blank: