ligo/test/contracts/set_iter.tz

5 lines
110 B
Plaintext
Raw Normal View History

parameter (set int);
return int;
storage unit;
code { CAR; PUSH int 0; SWAP; ITER { ADD }; UNIT; SWAP; PAIR }