9 lines
264 B
Plaintext
Raw Normal View History

parameter (pair (list int) (list int));
storage (list int);
2018-05-02 01:45:15 +02:00
code { CAR; UNPAIR ; # Unpack lists
NIL int; SWAP; # Setup reverse accumulator
ITER {CONS}; # Reverse list
ITER {CONS}; # Append reversed list
NIL operation;
PAIR}