/Prelude-v23.0.0/List/reverse.dhall
Copy path to clipboardReverse a list
Examples
reverse Natural [ 0, 1, 2 ] ≡ [ 2, 1, 0 ]
reverse Natural ([] : List Natural) ≡ ([] : List Natural)
Reverse a list
reverse Natural [ 0, 1, 2 ] ≡ [ 2, 1, 0 ]
reverse Natural ([] : List Natural) ≡ ([] : List Natural)