P05 - Reverse a list.

Author: Ryan Connelly

Example

> say reverse-list();
e d c b a

Source code: P05-topo.pl

use v6;

sub reverse-list(@list)
{
    @list.reverse;
}

say "{reverse-list()}";