ligo/test/contracts/concat_list.tz
2017-08-18 18:14:17 +02:00

7 lines
191 B
Plaintext

parameter (list string);
return string;
storage unit;
code {CAR; PUSH string ""; SWAP;
LAMBDA (pair string string) string {DUP; CDR; DIP{CAR}; CONCAT};
REDUCE; UNIT; SWAP; PAIR};