ligo/test/contracts/concat_list.tz

7 lines
198 B
Plaintext
Raw Normal View History

2017-07-24 17:06:56 +04:00
parameter (list string);
return string;
storage unit;
code {CAR; PUSH string ""; SWAP;
LAMBDA (pair string string) string {DUP; CAR; SWAP; CDR; SWAP; CONCAT};
REDUCE; UNIT; SWAP; PAIR};