1: { }: 2: 3: with builtins; 4: with rec { 5: go = lst: if lst == [ ] then [ ] else go (tail lst) ++ [ (head lst) ]; 6: }; 7: 8: go