ligo/test/contracts/concat_list.tz

6 lines
194 B
Plaintext
Raw Normal View History

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