# Traversal

Since the list routines are supplied by the generic roles defined in [Doubly-linked\_list/Definition#Raku](https://rosettacode.org/wiki/Doubly-linked_list/Definition#Raku), it suffices to say:

```perl
say $dll.list;
say $dll.reverse;
```

These automatically return just the payloads, hiding the elements containing the forward and backward pointers.
